* fixing feed tests
This commit is contained in:
parent
ec0eb4bb2a
commit
5a9ff8b10e
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue