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
201 B
Ruby
Raw 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
expose :total
2020-07-28 23:09:34 +05:30
expose :test_suites, using: TestSuiteSummaryEntity do |summary|
summary.test_suites.values
end
end