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

key_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: 13c00d94b375d093b90ef70bb67224a65b813ece (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['Key'], feature_category: :system_access do
  specify { expect(described_class.graphql_name).to eq('Key') }

  it 'contains attributes for SSH keys' do
    expect(described_class).to have_graphql_fields(
      :id, :title, :created_at, :expires_at, :key
    )
  end
end