2020-03-26 12:07:48 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.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-05-21 09:08:04 +00:00
|
|
|
expect(described_class).to have_graphql_fields(
|
|
|
|
:jira_project_key, :created_at, :scheduled_at, :scheduled_by,
|
|
|
|
:failed_to_import_count, :imported_issues_count, :total_issue_count
|
|
|
|
)
|
2020-03-26 12:07:48 +00:00
|
|
|
end
|
|
|
|
end
|