diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-29 10:35:04 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-29 10:35:04 +0300 |
commit | 08c3e9e7849c9f303d3df5f4afb9986eae7a9973 (patch) | |
tree | bc5fe7ba9bf48e541f979b090d463a710ecec1e9 /spec/models/project_services | |
parent | a97133a6b13b0357f4037d2678569b738046acdb (diff) |
pipeline/build succeeded/failed, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5525#note_14664613
Diffstat (limited to 'spec/models/project_services')
-rw-r--r-- | spec/models/project_services/slack_service/build_message_spec.rb | 4 | ||||
-rw-r--r-- | spec/models/project_services/slack_service/pipeline_message_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/project_services/slack_service/build_message_spec.rb b/spec/models/project_services/slack_service/build_message_spec.rb index 16fe1c93039..f690b6c7b3b 100644 --- a/spec/models/project_services/slack_service/build_message_spec.rb +++ b/spec/models/project_services/slack_service/build_message_spec.rb @@ -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 } diff --git a/spec/models/project_services/slack_service/pipeline_message_spec.rb b/spec/models/project_services/slack_service/pipeline_message_spec.rb index 1f1701202b4..fedf6eb1317 100644 --- a/spec/models/project_services/slack_service/pipeline_message_spec.rb +++ b/spec/models/project_services/slack_service/pipeline_message_spec.rb @@ -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 } |