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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
3b34084b
Commit
3b34084b
authored
May 09, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix notify specs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b8115e76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/mailers/notify_spec.rb
spec/mailers/notify_spec.rb
+4
-4
No files found.
spec/mailers/notify_spec.rb
View file @
3b34084b
...
@@ -239,7 +239,7 @@ describe Notify do
...
@@ -239,7 +239,7 @@ describe Notify do
it_behaves_like
'an assignee email'
it_behaves_like
'an assignee email'
it
'has the correct subject'
do
it
'has the correct subject'
do
should
have_subject
/
#{
merge_request
.
title
}
\(
!
#{
merge_request
.
iid
}
\)/
should
have_subject
/
#{
merge_request
.
title
}
\(
#
#{
merge_request
.
iid
}
\)/
end
end
it
'contains a link to the new merge request'
do
it
'contains a link to the new merge request'
do
...
@@ -275,7 +275,7 @@ describe Notify do
...
@@ -275,7 +275,7 @@ describe Notify do
end
end
it
'has the correct subject'
do
it
'has the correct subject'
do
should
have_subject
/
#{
merge_request
.
title
}
\(
!
#{
merge_request
.
iid
}
\)/
should
have_subject
/
#{
merge_request
.
title
}
\(
#
#{
merge_request
.
iid
}
\)/
end
end
it
'contains the name of the previous assignee'
do
it
'contains the name of the previous assignee'
do
...
@@ -303,7 +303,7 @@ describe Notify do
...
@@ -303,7 +303,7 @@ describe Notify do
end
end
it
'has the correct subject'
do
it
'has the correct subject'
do
should
have_subject
/
#{
merge_request
.
title
}
\(
!
#{
merge_request
.
iid
}
\)/
should
have_subject
/
#{
merge_request
.
title
}
\(
#
#{
merge_request
.
iid
}
\)/
end
end
it
'contains the new status'
do
it
'contains the new status'
do
...
@@ -426,7 +426,7 @@ describe Notify do
...
@@ -426,7 +426,7 @@ describe Notify do
it_behaves_like
'a note email'
it_behaves_like
'a note email'
it
'has the correct subject'
do
it
'has the correct subject'
do
should
have_subject
/
#{
merge_request
.
title
}
\(
!
#{
merge_request
.
iid
}
\)/
should
have_subject
/
#{
merge_request
.
title
}
\(
#
#{
merge_request
.
iid
}
\)/
end
end
it
'contains a link to the merge request note'
do
it
'contains a link to the merge request note'
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