blob: 0a473716a969ee97acfc8a994e1467b8c553870f (
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['CiRunnerMachine'], feature_category: :runner_fleet do
specify { expect(described_class.graphql_name).to eq('CiRunnerMachine') }
specify { expect(described_class).to require_graphql_authorizations(:read_runner_machine) }
it 'contains attributes related to a runner machine' do
expected_fields = %w[
architecture_name contacted_at created_at executor_name id ip_address platform_name revision
runner status version
]
expect(described_class).to include_graphql_fields(*expected_fields)
end
end
|