summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-11-04 16:43:59 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2014-11-04 16:43:59 +0100
commit652f4c8090793de4737b904b5feb11c27424f4c5 (patch)
tree866aa9b2fe0c01b21c31e12c862239a0d002e586 /spec
parent0269cd3a27250ef7b520fcbf7d38068bd9cb6381 (diff)
parent54ded5d95b16ea09be50dc7a9347fb6d5c02b1d9 (diff)
downloadgitlab-ce-652f4c8090793de4737b904b5feb11c27424f4c5.tar.gz
Merge pull request #8222 from cirosantilli/concat-with-backslash
Continue strings with backslash instead of append
Diffstat (limited to 'spec')
-rw-r--r--spec/models/slack_message_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/slack_message_spec.rb b/spec/models/slack_message_spec.rb
index 78d743e01bf..c530fad619b 100644
--- a/spec/models/slack_message_spec.rb
+++ b/spec/models/slack_message_spec.rb
@@ -26,11 +26,11 @@ describe SlackMessage do
it 'returns a message regarding pushes' do
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>)'
subject.attachments.should == [
{
- text: "<url1|abcdefghi>: message1 - author1\n" <<
+ text: "<url1|abcdefghi>: message1 - author1\n"\
"<url2|123456789>: message2 - author2",
color: color,
}
@@ -45,7 +45,7 @@ describe SlackMessage do
it 'returns a message regarding a new branch' do
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>'
subject.attachments.should be_empty
end