Skip to content
Snippets Groups Projects
Unverified Commit e93cca01 authored by Robert Speicher's avatar Robert Speicher
Browse files

Resolve Rails 4 spec failure

The `params` keyword argument only works in Rails 5. Removing it will
cause a Rails 4 deprecation warning, but that's better than not working
at all.
parent 3879ba77
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -38,7 +38,7 @@ describe Admin::RequestsProfilesController do
end
 
it 'loads an HTML profile' do
get :show, params: { name: basename }
get :show, name: basename
 
expect(response).to have_gitlab_http_status(200)
expect(response.body).to eq(sample_data)
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