diff options
-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 |