Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5e75f673
Commit
5e75f673
authored
Apr 09, 2021
by
Huzaifa Iftikhar
Committed by
Luke Duncalfe
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/mailers
parent
143bbd46
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-3
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-mailers.yml
...d/issue-325836-fix-empty-line-after-let-it-be-mailers.yml
+5
-0
spec/mailers/emails/projects_spec.rb
spec/mailers/emails/projects_spec.rb
+1
-0
spec/mailers/emails/releases_spec.rb
spec/mailers/emails/releases_spec.rb
+1
-0
spec/mailers/emails/service_desk_spec.rb
spec/mailers/emails/service_desk_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
5e75f673
...
@@ -1093,9 +1093,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
...
@@ -1093,9 +1093,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/lib/gitlab/repository_size_error_message_spec.rb
-
spec/lib/gitlab/repository_size_error_message_spec.rb
-
spec/lib/gitlab/search_results_spec.rb
-
spec/lib/gitlab/search_results_spec.rb
-
spec/lib/gitlab/shell_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/abuse_report_spec.rb
-
spec/models/alert_management/alert_spec.rb
-
spec/models/alert_management/alert_spec.rb
-
spec/models/audit_event_spec.rb
-
spec/models/audit_event_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-mailers.yml
0 → 100644
View file @
5e75f673
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/mailers
merge_request
:
58319
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/mailers/emails/projects_spec.rb
View file @
5e75f673
...
@@ -81,6 +81,7 @@ RSpec.describe Emails::Projects do
...
@@ -81,6 +81,7 @@ RSpec.describe Emails::Projects do
context
'with environment'
do
context
'with environment'
do
let_it_be
(
:environment
)
{
create
(
:environment
,
project:
project
)
}
let_it_be
(
:environment
)
{
create
(
:environment
,
project:
project
)
}
let
(
:payload
)
{
{
'gitlab_environment_name'
=>
environment
.
name
}
}
let
(
:payload
)
{
{
'gitlab_environment_name'
=>
environment
.
name
}
}
let
(
:metrics_url
)
{
metrics_project_environment_url
(
project
,
environment
)
}
let
(
:metrics_url
)
{
metrics_project_environment_url
(
project
,
environment
)
}
...
...
spec/mailers/emails/releases_spec.rb
View file @
5e75f673
...
@@ -10,6 +10,7 @@ RSpec.describe Emails::Releases do
...
@@ -10,6 +10,7 @@ RSpec.describe Emails::Releases do
describe
'#new_release_email'
do
describe
'#new_release_email'
do
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:project
)
{
create
(
:project
)
}
let
(
:release
)
{
create
(
:release
,
project:
project
)
}
let
(
:release
)
{
create
(
:release
,
project:
project
)
}
subject
{
Notify
.
new_release_email
(
user
.
id
,
release
)
}
subject
{
Notify
.
new_release_email
(
user
.
id
,
release
)
}
...
...
spec/mailers/emails/service_desk_spec.rb
View file @
5e75f673
...
@@ -14,6 +14,7 @@ RSpec.describe Emails::ServiceDesk do
...
@@ -14,6 +14,7 @@ RSpec.describe Emails::ServiceDesk do
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let_it_be
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let_it_be
(
:email
)
{
'someone@gitlab.com'
}
let_it_be
(
:email
)
{
'someone@gitlab.com'
}
let
(
:template
)
{
double
(
content:
template_content
)
}
let
(
:template
)
{
double
(
content:
template_content
)
}
before_all
do
before_all
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment