From 5a9ff8b10e8a92082a6682dc3e5ce27bf0f6328a Mon Sep 17 00:00:00 2001 From: Seth Call Date: Tue, 18 Feb 2014 20:24:45 +0000 Subject: [PATCH] * fixing feed tests --- web/spec/controllers/api_feeds_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/spec/controllers/api_feeds_controller_spec.rb b/web/spec/controllers/api_feeds_controller_spec.rb index 5f111aacb..0044beec6 100644 --- a/web/spec/controllers/api_feeds_controller_spec.rb +++ b/web/spec/controllers/api_feeds_controller_spec.rb @@ -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]