gitlab-org--gitlab-foss/spec/graphql/types/ci/test_suite_type_spec.rb

16 lines
453 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Types::Ci::TestSuiteType do
specify { expect(described_class.graphql_name).to eq('TestSuite') }
it 'contains attributes related to a pipeline test suite' do
expected_fields = %w[
name total_time total_count success_count failed_count skipped_count error_count suite_error test_cases
]
expect(described_class).to have_graphql_fields(*expected_fields)
end
end