Commit 92facb46 authored by Robert Speicher's avatar Robert Speicher

Don't use `not_to raise_error(SomeError)`

parent 4063f35f
......@@ -1958,7 +1958,7 @@ describe Ci::Build do
context 'when depended job has not been completed yet' do
let!(:pre_stage_job) { create(:ci_build, :manual, pipeline: pipeline, name: 'test', stage_idx: 0) }
it { expect { job.run! }.not_to raise_error(Ci::Build::MissingDependenciesError) }
it { expect { job.run! }.not_to raise_error }
end
context 'when artifacts of depended job has been expired' 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