summaryrefslogtreecommitdiff
path: root/spec/graphql/types/projects/base_service_type_spec.rb
blob: 4fcb9fe1a7378305dea2ac399897c7f11632f06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

describe GitlabSchema.types['BaseService'] do
  specify { expect(described_class.graphql_name).to eq('BaseService') }

  it 'has basic expected fields' do
    expect(described_class).to have_graphql_fields(:type, :active)
  end

  specify { expect(described_class).to require_graphql_authorizations(:admin_project) }
end