BigW Consortium Gitlab

Commit 3a99e36e by Lin Jen-Shin
parent 6264b2df
...@@ -208,11 +208,11 @@ eos ...@@ -208,11 +208,11 @@ eos
describe '#status' do describe '#status' do
context 'without arguments' do context 'without arguments' do
before do before do
5.times do %w[success failed created pending].each do |status|
create(:ci_empty_pipeline, create(:ci_empty_pipeline,
project: project, project: project,
sha: commit.sha, sha: commit.sha,
status: Ci::Pipeline.all_state_names.sample) status: status)
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