Commit 42b0e3a8 authored by Sean Carroll's avatar Sean Carroll

Ensure build is persisted

parent c05c48e8
......@@ -985,6 +985,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).to be_persisted
expect(build).to be_kind_of(Ci::Build)
expect(build.options).to eq(config[:release].except(:stage, :only).with_indifferent_access)
expect(build).to be_persisted
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