Commit 08f01dbb authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make sure there's a build

parent eea2fd80
...@@ -1183,6 +1183,7 @@ describe Project, models: true do ...@@ -1183,6 +1183,7 @@ describe Project, models: true do
context 'with pending pipeline' do context 'with pending pipeline' do
before do before do
pipeline.update(status: 'pending') pipeline.update(status: 'pending')
create_build(pipeline)
end end
it 'returns empty relation' do it 'returns empty relation' do
......
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