Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_suite_summary_entity.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3a9ccb22713aa77581225d3835308fbe74df676d (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class TestSuiteSummaryEntity < TestSuiteEntity
  expose :build_ids, documentation: { type: 'integer', is_array: true, example: [66004] } do |summary|
    summary.build_ids
  end

  expose :suite_error,
    documentation: { type: 'string', example: 'JUnit XML parsing failed: 1:1: FATAL: Document is empty' }
end