Make sure there's a build

This commit is contained in:
Lin Jen-Shin 2016-07-20 23:38:47 +08:00
parent eea2fd80fc
commit 08f01dbbc5

View file

@ -1183,6 +1183,7 @@ describe Project, models: true do
context 'with pending pipeline' do
before do
pipeline.update(status: 'pending')
create_build(pipeline)
end
it 'returns empty relation' do