diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-12-24 02:12:17 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-12-24 02:12:17 +0100 |
commit | 19a735fc0c4b3a983717176e957098cd1a8a7c17 (patch) | |
tree | f8d65b7e5abf87d048d65a309c0d006269d788e4 | |
parent | e101be80e752fa70997cc8e73a46361abb8bde42 (diff) | |
download | gitlab-ce-19a735fc0c4b3a983717176e957098cd1a8a7c17.tar.gz |
Use old-style controller request params
-rw-r--r-- | spec/controllers/groups/settings/ci_cd_controller_spec.rb | 4 |
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 |