Commit 05faeec7 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix English

parent 18d7ae43
...@@ -398,7 +398,7 @@ describe Ci::Pipeline, models: true do ...@@ -398,7 +398,7 @@ describe Ci::Pipeline, models: true do
build_b.enqueue build_b.enqueue
end end
it 'receive a pending event once' do it 'receives a pending event once' do
expect(WebMock).to have_requested_pipeline_hook('pending').once expect(WebMock).to have_requested_pipeline_hook('pending').once
end end
end end
...@@ -411,7 +411,7 @@ describe Ci::Pipeline, models: true do ...@@ -411,7 +411,7 @@ describe Ci::Pipeline, models: true do
build_b.run build_b.run
end end
it 'receive a running event once' do it 'receives a running event once' do
expect(WebMock).to have_requested_pipeline_hook('running').once expect(WebMock).to have_requested_pipeline_hook('running').once
end end
end end
...@@ -422,7 +422,7 @@ describe Ci::Pipeline, models: true do ...@@ -422,7 +422,7 @@ describe Ci::Pipeline, models: true do
build_b.success build_b.success
end end
it 'receive a success event once' do it 'receives a success event once' do
expect(WebMock).to have_requested_pipeline_hook('success').once expect(WebMock).to have_requested_pipeline_hook('success').once
end end
end end
...@@ -432,7 +432,7 @@ describe Ci::Pipeline, models: true do ...@@ -432,7 +432,7 @@ describe Ci::Pipeline, models: true do
build_a.drop build_a.drop
end end
it 'receive a failed event once' do it 'receives a failed event once' do
expect(WebMock).to have_requested_pipeline_hook('failed').once expect(WebMock).to have_requested_pipeline_hook('failed').once
end end
end end
......
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