diff options
author | Sean McGivern <sean@gitlab.com> | 2017-02-27 15:57:04 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-02-27 15:57:04 +0000 |
commit | 52c79319ca431b02bccf696001565d5486f467b9 (patch) | |
tree | a444e64a8328fef34484574b17c70bb9e652bf15 | |
parent | 1229ce06bd49dcd98b2df4d3358034021b74e0d3 (diff) | |
download | gitlab-ce-52c79319ca431b02bccf696001565d5486f467b9.tar.gz |
Make RuboCop happyfix-rubocop
-rw-r--r-- | spec/support/update_invalid_issuable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/update_invalid_issuable.rb b/spec/support/update_invalid_issuable.rb index f984ac7bfa7..365c34448ac 100644 --- a/spec/support/update_invalid_issuable.rb +++ b/spec/support/update_invalid_issuable.rb @@ -33,7 +33,7 @@ shared_examples 'update invalid issuable' do |klass| end it 'renders json error message when format is json' do - params.merge!(format: "json") + params[:format] = "json" put :update, params |