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