Commit 52c79319 authored by Sean McGivern's avatar Sean McGivern

Make RuboCop happy

parent 1229ce06
...@@ -33,7 +33,7 @@ shared_examples 'update invalid issuable' do |klass| ...@@ -33,7 +33,7 @@ shared_examples 'update invalid issuable' do |klass|
end end
it 'renders json error message when format is json' do it 'renders json error message when format is json' do
params.merge!(format: "json") params[:format] = "json"
put :update, params put :update, params
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment