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
Léo-Paul Géneau
gitlab-ce
Commits
867b64c8
Commit
867b64c8
authored
Aug 29, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I am too used to have no spaces around default args
parent
41384db1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/models/project_services/slack_service/build_message_spec.rb
...dels/project_services/slack_service/build_message_spec.rb
+1
-1
spec/models/project_services/slack_service/pipeline_message_spec.rb
...s/project_services/slack_service/pipeline_message_spec.rb
+1
-1
No files found.
spec/models/project_services/slack_service/build_message_spec.rb
View file @
867b64c8
...
@@ -59,7 +59,7 @@ describe SlackService::BuildMessage do
...
@@ -59,7 +59,7 @@ describe SlackService::BuildMessage do
end
end
end
end
def
build_message
(
status_text
=
status
)
def
build_message
(
status_text
=
status
)
"<example.gitlab.com|project_name>:"
\
"<example.gitlab.com|project_name>:"
\
" Commit <example.gitlab.com/commit/"
\
" Commit <example.gitlab.com/commit/"
\
"97de212e80737a608d939f648d959671fb0a0142/builds|97de212e>"
\
"97de212e80737a608d939f648d959671fb0a0142/builds|97de212e>"
\
...
...
spec/models/project_services/slack_service/pipeline_message_spec.rb
View file @
867b64c8
...
@@ -58,7 +58,7 @@ describe SlackService::PipelineMessage do
...
@@ -58,7 +58,7 @@ describe SlackService::PipelineMessage do
end
end
end
end
def
build_message
(
status_text
=
status
)
def
build_message
(
status_text
=
status
)
"<example.gitlab.com|project_name>:"
\
"<example.gitlab.com|project_name>:"
\
" Pipeline <example.gitlab.com/pipelines/123|97de212e>"
\
" Pipeline <example.gitlab.com/pipelines/123|97de212e>"
\
" of <example.gitlab.com/commits/develop|develop> branch"
\
" of <example.gitlab.com/commits/develop|develop> branch"
\
...
...
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