Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-02-27 18:57:04 +0300
committerSean McGivern <sean@gitlab.com>2017-02-27 18:57:04 +0300
commit52c79319ca431b02bccf696001565d5486f467b9 (patch)
treea444e64a8328fef34484574b17c70bb9e652bf15
parent1229ce06bd49dcd98b2df4d3358034021b74e0d3 (diff)
Make RuboCop happy
-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