From f2a3d163a3909e69b3f929a1fa128faa9bf1a5db Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 19 Mar 2014 17:00:49 +0600 Subject: [PATCH] [#345] fix mistype --- spec/controllers/api/v1/build_lists_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/api/v1/build_lists_controller_spec.rb b/spec/controllers/api/v1/build_lists_controller_spec.rb index 31db6f95f..e092d64ad 100644 --- a/spec/controllers/api/v1/build_lists_controller_spec.rb +++ b/spec/controllers/api/v1/build_lists_controller_spec.rb @@ -733,7 +733,7 @@ describe Api::V1::BuildListsController do end it 'should show only accessible build_lists' do - get :index, filter: ownership: 'index', format: :json + get :index, filter: { ownership: 'index' }, format: :json assigns(:build_lists).should include(@build_list1) assigns(:build_lists).should_not include(@build_list2) assigns(:build_lists).should include(@build_list3)