Skip to content
Snippets Groups Projects
Verified Commit a9e23ac4 authored by Matija Čupić's avatar Matija Čupić
Browse files

Use old-style controller request params

parent 0840401e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment