Commit 867b64c8 authored by Lin Jen-Shin's avatar Lin Jen-Shin

I am too used to have no spaces around default args

parent 41384db1
...@@ -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>" \
......
...@@ -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" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment