fix tests

This commit is contained in:
r888888888 2013-06-24 12:03:46 -07:00
parent 37e6e91a79
commit 9782bf0cd6

View File

@ -8,6 +8,10 @@ module PostSets
@favorites = ::Favorite.for_user(user.id).paginate(page, :limit => limit).order("favorites.id desc")
end
def raw
false
end
def limit
params[:limit] || CurrentUser.user.per_page
end