diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-21 18:56:10 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-22 14:25:28 +0300 |
commit | db03dc318e41f93887f668969dd207268a3168dc (patch) | |
tree | 0cf07b0e339231214dac687af2ab91b7ae7493c9 /spec/controllers/projects_controller_spec.rb | |
parent | 759875387cab016897ec17c924ca3cea94c22387 (diff) | |
download | gitlab-ci-refactoring_user_url.tar.gz |
refactoring network related coderefactoring_user_url
Diffstat (limited to 'spec/controllers/projects_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index dea35f6..cea3986 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -82,7 +82,7 @@ describe ProjectsController do it "searches projects" do allow(controller).to receive(:reset_cache) { true } allow(controller).to receive(:current_user) { user } - Network.any_instance.should_receive(:projects).with(anything(), hash_including(search: 'str'), :authorized) + Network.any_instance.should_receive(:projects).with(hash_including(search: 'str'), :authorized) xhr :get, :gitlab, { search: "str", format: "js" }.with_indifferent_access |