blob: 6f73171cd8f88177959103196b97d1f76ae10077 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['CiRunnerManager'], feature_category: :runner_fleet do
specify { expect(described_class.graphql_name).to eq('CiRunnerManager') }
specify { expect(described_class).to require_graphql_authorizations(:read_runner_manager) }
it 'contains attributes related to a runner manager' do
expected_fields = %w[
architecture_name contacted_at created_at executor_name id ip_address platform_name revision
runner status system_id version
]
expect(described_class).to include_graphql_fields(*expected_fields)
end
end
|