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

x509_certificate_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: e59d1f83b2864d9c7310672bc1312237ee59b4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'spec_helper'

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

  it 'contains attributes for X.509 certifcates' do
    expect(described_class).to have_graphql_fields(
      :certificate_status, :created_at, :email, :id, :serial_number, :subject,
      :subject_key_identifier, :updated_at, :x509_issuer
    )
  end
end