about summary refs log tree commit diff
path: root/spec/controllers/api
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-05-31 14:32:11 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-31 20:32:11 +0200
commit0f155829b7362d2bb81e2b80e96a351dc7dac538 (patch)
tree75d25a480a15f73048a8f7b04efef40a6922b236 /spec/controllers/api
parent84dda45df944d973c83417c697b7d871bb84be35 (diff)
Improve spec coverage and clean up api/v1/follow_requests controller (#3465)
Diffstat (limited to 'spec/controllers/api')
-rw-r--r--spec/controllers/api/v1/follow_requests_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/v1/follow_requests_controller_spec.rb b/spec/controllers/api/v1/follow_requests_controller_spec.rb
index a90d2d290..d455a0255 100644
--- a/spec/controllers/api/v1/follow_requests_controller_spec.rb
+++ b/spec/controllers/api/v1/follow_requests_controller_spec.rb
@@ -14,7 +14,7 @@ RSpec.describe Api::V1::FollowRequestsController, type: :controller do
 
   describe 'GET #index' do
     before do
-      get :index
+      get :index, params: { limit: 1 }
     end
 
     it 'returns http success' do