Commit cc73c613 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-mailers' into 'master'

Fix EmptyLineAfterFinalLetItBe offenses in spec/mailers

See merge request gitlab-org/gitlab!58319
parents c0f9d0e9 5e75f673
......@@ -852,9 +852,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/lib/gitlab/repository_size_error_message_spec.rb
- spec/lib/gitlab/search_results_spec.rb
- spec/lib/gitlab/shell_spec.rb
- spec/mailers/emails/projects_spec.rb
- spec/mailers/emails/releases_spec.rb
- spec/mailers/emails/service_desk_spec.rb
- spec/models/abuse_report_spec.rb
- spec/models/alert_management/alert_spec.rb
- spec/models/audit_event_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/mailers
merge_request: 58319
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -81,6 +81,7 @@ RSpec.describe Emails::Projects do
context 'with environment' do
let_it_be(:environment) { create(:environment, project: project) }
let(:payload) { { 'gitlab_environment_name' => environment.name } }
let(:metrics_url) { metrics_project_environment_url(project, environment) }
......
......@@ -10,6 +10,7 @@ RSpec.describe Emails::Releases do
describe '#new_release_email' do
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project) }
let(:release) { create(:release, project: project) }
subject { Notify.new_release_email(user.id, release) }
......
......@@ -14,6 +14,7 @@ RSpec.describe Emails::ServiceDesk do
let_it_be(:project) { create(:project) }
let_it_be(:issue) { create(:issue, project: project) }
let_it_be(:email) { 'someone@gitlab.com' }
let(:template) { double(content: template_content) }
before_all 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