Commit bda20332 authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch 'issue#220040-fix-rails-savebang-email-handlers' into 'master'

Fix Rails/SaveBang Rubocop offenses for email handlers

See merge request gitlab-org/gitlab!58095
parents 05370f74 49817165
......@@ -176,8 +176,6 @@ Rails/SaveBang:
- 'spec/lib/gitlab/database/custom_structure_spec.rb'
- 'spec/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers_spec.rb'
- 'spec/lib/gitlab/database_importers/self_monitoring/project/create_service_spec.rb'
- 'spec/lib/gitlab/email/handler/create_note_handler_spec.rb'
- 'spec/lib/gitlab/email/handler/unsubscribe_handler_spec.rb'
- 'spec/lib/gitlab/gfm/reference_rewriter_spec.rb'
- 'spec/lib/gitlab/git_access_spec.rb'
- 'spec/lib/gitlab/import_export/avatar_saver_spec.rb'
......
---
title: Fix Rails/SaveBang Rubocop offenses for email handlers
merge_request: 58095
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -74,7 +74,7 @@ RSpec.describe Gitlab::Email::Handler::UnsubscribeHandler do
context 'when the noteable could not be found' do
before do
noteable.destroy
noteable.destroy!
end
it 'raises a NoteableNotFoundError' do
......
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