diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-03-14 12:44:32 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-03-14 12:44:32 -0500 |
commit | 92facb4658b0db91da37afd7930b2fe777f20b98 (patch) | |
tree | 6c9904ea395b499ab5a7386a13bdc94d72cf8e26 | |
parent | 4063f35f00bea4b2fc26640db385abb4e72043bd (diff) | |
download | gitlab-ce-92facb4658b0db91da37afd7930b2fe777f20b98.tar.gz |
Don't use `not_to raise_error(SomeError)`
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index 6e202de0db9..25c8fa2caec 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -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 |