Welcome to mirror list, hosted at ThFree Co, Russian Federation.

jira_user_type_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e55efb42f4e613edc11e4555c2dff0b18c083e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

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

  it 'has the expected fields' do
    expect(described_class).to have_graphql_fields(
      :jira_account_id, :jira_display_name, :jira_email, :gitlab_id, :gitlab_username, :gitlab_name
    )
  end
end