added tag subscription functional test

This commit is contained in:
albert
2011-01-31 01:55:40 -05:00
parent c0968ec5e3
commit 9837735c93
7 changed files with 71 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ class TagSubscriptionsController < ApplicationController
end
def index
@search = TagSubscription.search(params[:search]).visible
@search = TagSubscription.visible.search(params[:search])
@tag_subscriptions = @search.paginate(:page => params[:page])
respond_with(@tag_subscriptions)
end