summaryrefslogtreecommitdiff
path: root/spec/controllers/projects_controller_spec.rb
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2019-01-02 21:47:45 +0100
committerJasper Maes <jaspermaes.jm@gmail.com>2019-01-02 22:33:28 +0100
commitd53755da68c660b2393a931e063e46e455adcec9 (patch)
tree17ce6318f27e0cd5b86b9a5201c728d42ec67dc9 /spec/controllers/projects_controller_spec.rb
parent6a8b89d9086cbe1a083641b4747c5acba1e3c2c6 (diff)
downloadgitlab-ce-d53755da68c660b2393a931e063e46e455adcec9.tar.gz
Fix deprecation: Using positional arguments in integration tests
Diffstat (limited to 'spec/controllers/projects_controller_spec.rb')
-rw-r--r--spec/controllers/projects_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index 4747d837273..f84f069f4db 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -667,7 +667,7 @@ describe ProjectsController do
project.add_guest(user)
sign_in(user)
- get :refs, namespace_id: project.namespace, id: project
+ get :refs, params: { namespace_id: project.namespace, id: project }
expect(response).to have_gitlab_http_status(404)
end