Commit ac7a6af6 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rails-save-bang-frontend' into 'master'

Fix Rails/SaveBang offenses in spec/frontend

See merge request gitlab-org/gitlab!57909
parents dc8e6a8a 72985742
......@@ -140,8 +140,6 @@ Rails/SaveBang:
- 'spec/controllers/boards/issues_controller_spec.rb'
- 'spec/controllers/sent_notifications_controller_spec.rb'
- 'spec/controllers/sessions_controller_spec.rb'
- 'spec/frontend/fixtures/issues.rb'
- 'spec/frontend/fixtures/merge_requests.rb'
- 'spec/lib/after_commit_queue_spec.rb'
- 'spec/lib/backup/manager_spec.rb'
- 'spec/lib/gitlab/alerting/alert_spec.rb'
......
---
title: Fix Rails/SaveBang rubocop offenses in spec/frontend
merge_request: 57909
author: Abdul Wadood @abdulwd
type: fixed
......@@ -69,7 +69,7 @@ RSpec.describe Projects::MergeRequestsController, '(JavaScript fixtures)', type:
end
it 'merge_requests/merge_request_of_current_user.html' do
merge_request.update(author: user)
merge_request.update!(author: user)
render_merge_request(merge_request)
end
......
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