summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-02-27 15:57:04 +0000
committerSean McGivern <sean@gitlab.com>2017-02-27 15:57:04 +0000
commit52c79319ca431b02bccf696001565d5486f467b9 (patch)
treea444e64a8328fef34484574b17c70bb9e652bf15
parent1229ce06bd49dcd98b2df4d3358034021b74e0d3 (diff)
downloadgitlab-ce-fix-rubocop.tar.gz
Make RuboCop happyfix-rubocop
-rw-r--r--spec/support/update_invalid_issuable.rb2
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