2020-04-08 06:09:54 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe GitlabSchema.types['JiraService'] do
|
2020-05-07 06:09:38 +00:00
|
|
|
specify { expect(described_class.graphql_name).to eq('JiraService') }
|
2020-04-08 06:09:54 +00:00
|
|
|
|
|
|
|
it 'has basic expected fields' do
|
|
|
|
expect(described_class).to have_graphql_fields(:type, :active)
|
|
|
|
end
|
|
|
|
|
2020-05-07 06:09:38 +00:00
|
|
|
specify { expect(described_class).to require_graphql_authorizations(:admin_project) }
|
2020-04-08 06:09:54 +00:00
|
|
|
end
|