diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-03-14 20:44:32 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-03-14 20:44:32 +0300 |
commit | 92facb4658b0db91da37afd7930b2fe777f20b98 (patch) | |
tree | 6c9904ea395b499ab5a7386a13bdc94d72cf8e26 /spec/models/ci | |
parent | 4063f35f00bea4b2fc26640db385abb4e72043bd (diff) |
Don't use `not_to raise_error(SomeError)`
Diffstat (limited to 'spec/models/ci')
-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 |