BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
08c3e9e7
Commit
08c3e9e7
authored
Aug 29, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pipeline/build succeeded/failed, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5525#note_14664613
parent
a97133a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
build_message_spec.rb
...dels/project_services/slack_service/build_message_spec.rb
+2
-2
pipeline_message_spec.rb
...s/project_services/slack_service/pipeline_message_spec.rb
+2
-2
No files found.
spec/models/project_services/slack_service/build_message_spec.rb
View file @
08c3e9e7
...
...
@@ -22,7 +22,7 @@ describe SlackService::BuildMessage do
let
(
:message
)
{
build_message
}
context
'succeeded'
do
context
'
build
succeeded'
do
let
(
:status
)
{
'success'
}
let
(
:color
)
{
'good'
}
let
(
:duration
)
{
10
}
...
...
@@ -35,7 +35,7 @@ describe SlackService::BuildMessage do
end
end
context
'failed'
do
context
'
build
failed'
do
let
(
:status
)
{
'failed'
}
let
(
:color
)
{
'danger'
}
let
(
:duration
)
{
10
}
...
...
spec/models/project_services/slack_service/pipeline_message_spec.rb
View file @
08c3e9e7
...
...
@@ -21,7 +21,7 @@ describe SlackService::PipelineMessage do
let
(
:message
)
{
build_message
}
context
'succeeded'
do
context
'
pipeline
succeeded'
do
let
(
:status
)
{
'success'
}
let
(
:color
)
{
'good'
}
let
(
:duration
)
{
10
}
...
...
@@ -34,7 +34,7 @@ describe SlackService::PipelineMessage do
end
end
context
'failed'
do
context
'
pipeline
failed'
do
let
(
:status
)
{
'failed'
}
let
(
:color
)
{
'danger'
}
let
(
:duration
)
{
10
}
...
...
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