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