* fixing feed tests

This commit is contained in:
Seth Call 2014-02-18 20:24:45 +00:00
parent ec0eb4bb2a
commit 5a9ff8b10e
1 changed files with 2 additions and 2 deletions

View File

@ -59,13 +59,13 @@ describe ApiFeedsController do
_next = json[:next]
_next.should_not be_nil
get :index, { since: _next }
get :index, { limit: 1, since: _next }
json = JSON.parse(response.body, :symbolize_names => true)
json[:entries].length.should == 1
_next = json[:next]
_next.should_not be_nil
get :index, { since: _next }
get :index, { limit: 1, since: _next }
json = JSON.parse(response.body, :symbolize_names => true)
json[:entries].length.should == 0
_next = json[:next]