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
5585ff3b
Commit
5585ff3b
authored
Sep 01, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some empty lines from notify specs
parent
9bd860be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
spec/mailers/notify_spec.rb
spec/mailers/notify_spec.rb
+0
-3
No files found.
spec/mailers/notify_spec.rb
View file @
5585ff3b
...
@@ -27,7 +27,6 @@ describe Notify do
...
@@ -27,7 +27,6 @@ describe Notify do
description:
'My awesome description!'
)
description:
'My awesome description!'
)
end
end
def
have_referable_subject
(
referable
,
reply:
false
)
def
have_referable_subject
(
referable
,
reply:
false
)
prefix
=
referable
.
project
.
name
if
referable
.
project
prefix
=
referable
.
project
.
name
if
referable
.
project
prefix
=
"Re:
#{
prefix
}
"
if
reply
prefix
=
"Re:
#{
prefix
}
"
if
reply
...
@@ -54,7 +53,6 @@ describe Notify do
...
@@ -54,7 +53,6 @@ describe Notify do
end
end
context
'for issues'
do
context
'for issues'
do
describe
'that are new'
do
describe
'that are new'
do
subject
{
described_class
.
new_issue_email
(
issue
.
assignees
.
first
.
id
,
issue
.
id
)
}
subject
{
described_class
.
new_issue_email
(
issue
.
assignees
.
first
.
id
,
issue
.
id
)
}
...
@@ -242,7 +240,6 @@ describe Notify do
...
@@ -242,7 +240,6 @@ describe Notify do
end
end
end
end
describe
'that are reassigned'
do
describe
'that are reassigned'
do
subject
{
described_class
.
reassigned_merge_request_email
(
recipient
.
id
,
merge_request
.
id
,
previous_assignee
.
id
,
current_user
.
id
)
}
subject
{
described_class
.
reassigned_merge_request_email
(
recipient
.
id
,
merge_request
.
id
,
previous_assignee
.
id
,
current_user
.
id
)
}
...
...
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