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

test_suite_summary_type_spec.rb « ci « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e87782037c76a739c3dfecdc69c23bf7d5ea6598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Ci::TestSuiteSummaryType do
  specify { expect(described_class.graphql_name).to eq('TestSuiteSummary') }

  it 'contains attributes related to a pipeline test report summary' do
    expected_fields = %w[
      name total_time total_count success_count failed_count skipped_count error_count suite_error build_ids
    ]

    expect(described_class).to have_graphql_fields(*expected_fields)
  end
end