diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 15:13:39 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 15:13:39 +0900 |
commit | 85af3ea21a5a772cb22756190268ba3f921a6400 (patch) | |
tree | 4231bb48df2693c9600b5c5b7dabb9bae41c1d3e /spec/models/ci | |
parent | 1f53cf7cf0cb53b5d69ab141fa9020356e62027e (diff) | |
download | gitlab-ce-85af3ea21a5a772cb22756190268ba3f921a6400.tar.gz |
Added unique identifier to calculate_reactive_cache. Decoupled comparison logic to service. Fixed N+1 select queries.
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 7137c07c55d..858e448a3d8 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -2845,7 +2845,7 @@ describe Ci::Build do context 'when build does not have test reports' do it 'raises an error' do - expect { subject }.to raise_error(ArgumentError) + expect { subject }.to raise_error(NoMethodError) end end end |