Commit 08c3e9e7 authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent a97133a6
......@@ -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 }
......
......@@ -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 }
......
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