summaryrefslogtreecommitdiff
path: root/spec/serializers/test_report_summary_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/test_report_summary_entity_spec.rb')
-rw-r--r--spec/serializers/test_report_summary_entity_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/serializers/test_report_summary_entity_spec.rb b/spec/serializers/test_report_summary_entity_spec.rb
index fcac9af5c23..4b0af398b83 100644
--- a/spec/serializers/test_report_summary_entity_spec.rb
+++ b/spec/serializers/test_report_summary_entity_spec.rb
@@ -9,12 +9,8 @@ RSpec.describe TestReportSummaryEntity do
describe '#as_json' do
subject(:as_json) { entity.as_json }
- it 'contains the total time' do
- expect(as_json).to include(:total_time)
- end
-
- it 'contains the counts' do
- expect(as_json).to include(:total_count, :success_count, :failed_count, :skipped_count, :error_count)
+ it 'contains the total' do
+ expect(as_json).to include(:total)
end
context 'when summary has test suites' do