2020-03-26 12:07:48 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe GitlabSchema.types['JiraImport'] do
|
2020-05-07 06:09:38 +00:00
|
|
|
specify { expect(described_class.graphql_name).to eq('JiraImport') }
|
2020-03-26 12:07:48 +00:00
|
|
|
|
|
|
|
it 'has the expected fields' do
|
2020-04-27 18:09:41 +00:00
|
|
|
expect(described_class).to have_graphql_fields(:jira_project_key, :createdAt, :scheduled_at, :scheduled_by)
|
2020-03-26 12:07:48 +00:00
|
|
|
end
|
|
|
|
end
|