diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-01-17 00:28:23 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-01-17 00:28:23 +0300 |
commit | e93cca010ab322c717e1df4967a7294c1c503fd5 (patch) | |
tree | 1d225743d582473ae9c54d041e15b20cd7d1416c | |
parent | 3879ba7799a41e702e69dc33300d4461d8ebf53c (diff) |
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.
-rw-r--r-- | spec/controllers/admin/requests_profiles_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/requests_profiles_controller_spec.rb b/spec/controllers/admin/requests_profiles_controller_spec.rb index 10850cb4603..f3799a23f8c 100644 --- a/spec/controllers/admin/requests_profiles_controller_spec.rb +++ b/spec/controllers/admin/requests_profiles_controller_spec.rb @@ -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) |