diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 18:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-08 18:09:45 +0300 |
commit | 4f0f7d580907e598013ad4b445db60ceacaa4724 (patch) | |
tree | 96f8b3224f962ff7011611cfdfa65bdbe079c5cd /spec/serializers/accessibility_reports_comparer_entity_spec.rb | |
parent | 148b75b329294f6b6ae409bbf8d70590e63c6bc9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/accessibility_reports_comparer_entity_spec.rb')
-rw-r--r-- | spec/serializers/accessibility_reports_comparer_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/accessibility_reports_comparer_entity_spec.rb b/spec/serializers/accessibility_reports_comparer_entity_spec.rb index c576dfa4dd1..dade2387ea9 100644 --- a/spec/serializers/accessibility_reports_comparer_entity_spec.rb +++ b/spec/serializers/accessibility_reports_comparer_entity_spec.rb @@ -51,8 +51,8 @@ RSpec.describe AccessibilityReportsComparerEntity do expect(subject[:status]).to eq(Gitlab::Ci::Reports::AccessibilityReportsComparer::STATUS_FAILED) expect(subject[:resolved_errors].first).to include(:code, :type, :type_code, :message, :context, :selector, :runner, :runner_extras) expect(subject[:new_errors].first).to include(:code, :type, :type_code, :message, :context, :selector, :runner, :runner_extras) - expect(subject[:existing_errors].first).to include(:code, :type, :type_code, :message, :context, :selector, :runner, :runner_extras) - expect(subject[:summary]).to include(total: 2, resolved: 1, errored: 1) + expect(subject[:existing_errors]).to be_empty + expect(subject[:summary]).to include(total: 1, resolved: 1, errored: 1) end end |