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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['CodequalityReportsComparerReportSummary'], feature_category: :code_quality do
  specify { expect(described_class.graphql_name).to eq('CodequalityReportsComparerReportSummary') }

  it 'has expected fields' do
    expected_fields = %i[total resolved errored]

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