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
iv
gitlab-ce
Commits
54ded5d9
Commit
54ded5d9
authored
Nov 01, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Continue strings with backslash instead of append
parent
7371c9e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/models/slack_message_spec.rb
spec/models/slack_message_spec.rb
+3
-3
No files found.
spec/models/slack_message_spec.rb
View file @
54ded5d9
...
@@ -26,11 +26,11 @@ describe SlackMessage do
...
@@ -26,11 +26,11 @@ describe SlackMessage do
it
'returns a message regarding pushes'
do
it
'returns a message regarding pushes'
do
subject
.
pretext
.
should
==
subject
.
pretext
.
should
==
'user_name pushed to branch <url/commits/master|master> of '
<<
'user_name pushed to branch <url/commits/master|master> of '
\
'<url|project_name> (<url/compare/before...after|Compare changes>)'
'<url|project_name> (<url/compare/before...after|Compare changes>)'
subject
.
attachments
.
should
==
[
subject
.
attachments
.
should
==
[
{
{
text:
"<url1|abcdefghi>: message1 - author1
\n
"
<<
text:
"<url1|abcdefghi>: message1 - author1
\n
"
\
"<url2|123456789>: message2 - author2"
,
"<url2|123456789>: message2 - author2"
,
color:
color
,
color:
color
,
}
}
...
@@ -45,7 +45,7 @@ describe SlackMessage do
...
@@ -45,7 +45,7 @@ describe SlackMessage do
it
'returns a message regarding a new branch'
do
it
'returns a message regarding a new branch'
do
subject
.
pretext
.
should
==
subject
.
pretext
.
should
==
'user_name pushed new branch <url/commits/master|master> to '
<<
'user_name pushed new branch <url/commits/master|master> to '
\
'<url|project_name>'
'<url|project_name>'
subject
.
attachments
.
should
be_empty
subject
.
attachments
.
should
be_empty
end
end
...
...
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