debian-mirror-gitlab/app/serializers/test_report_summary_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
252 B
Ruby
Raw Permalink Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
2020-10-24 23:57:45 +05:30
class TestReportSummaryEntity < Grape::Entity
2023-01-13 00:05:48 +05:30
expose :total, documentation: { type: 'integer', example: 3363 }
2020-10-24 23:57:45 +05:30
2020-07-28 23:09:34 +05:30
expose :test_suites, using: TestSuiteSummaryEntity do |summary|
summary.test_suites.values
end
end