summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-12-24 02:12:17 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-12-24 02:13:15 +0100
commita9e23ac44e0be2bd12fce573f32932cfbf9eb11c (patch)
treeb5374d25e79e7994d231118620f1b4ec504556b5
parent0840401efd0ead180fa6662ca74b26b984151126 (diff)
downloadgitlab-ce-a9e23ac44e0be2bd12fce573f32932cfbf9eb11c.tar.gz
Use old-style controller request params
-rw-r--r--spec/controllers/groups/settings/ci_cd_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/groups/settings/ci_cd_controller_spec.rb b/spec/controllers/groups/settings/ci_cd_controller_spec.rb
index 5960dcaefee..1bcc30915a1 100644
--- a/spec/controllers/groups/settings/ci_cd_controller_spec.rb
+++ b/spec/controllers/groups/settings/ci_cd_controller_spec.rb
@@ -15,7 +15,7 @@ describe Groups::Settings::CiCdController do
end
it 'renders show with 200 status code' do
- get :show, params: { group_id: group }
+ get :show, group_id: group
expect(response).to have_gitlab_http_status(200)
expect(response).to render_template(:show)
@@ -28,7 +28,7 @@ describe Groups::Settings::CiCdController do
end
it 'renders a 404' do
- get :show, params: { group_id: group }
+ get :show, group_id: group
expect(response).to have_gitlab_http_status(404)
end