14 lines
365 B
Ruby
14 lines
365 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'spec_helper'
|
||
|
|
||
|
describe GitlabSchema.types['BaseService'] do
|
||
|
it { expect(described_class.graphql_name).to eq('BaseService') }
|
||
|
|
||
|
it 'has basic expected fields' do
|
||
|
expect(described_class).to have_graphql_fields(:type, :active)
|
||
|
end
|
||
|
|
||
|
it { expect(described_class).to require_graphql_authorizations(:admin_project) }
|
||
|
end
|