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

require 'spec_helper'

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

  it 'has the expected fields' do
    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
    )
  end
end