diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 00:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-12 00:08:18 +0300 |
commit | d5012fff67191be53070d024a89195a666a581ed (patch) | |
tree | 08d4334c0202f365a5513dd2147d5a411fe05bcb /spec/graphql | |
parent | 1a2f754734eb189e371e25e685413808f69a7f2c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql')
-rw-r--r-- | spec/graphql/types/ci/job_type_spec.rb | 2 | ||||
-rw-r--r-- | spec/graphql/types/ci/runner_manager_type_spec.rb (renamed from spec/graphql/types/ci/runner_machine_type_spec.rb) | 8 | ||||
-rw-r--r-- | spec/graphql/types/ci/runner_type_spec.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/spec/graphql/types/ci/job_type_spec.rb b/spec/graphql/types/ci/job_type_spec.rb index a761a256899..4eb18574969 100644 --- a/spec/graphql/types/ci/job_type_spec.rb +++ b/spec/graphql/types/ci/job_type_spec.rb @@ -40,7 +40,7 @@ RSpec.describe Types::Ci::JobType, feature_category: :continuous_integration do refPath retryable retried - runnerMachine + runnerManager scheduledAt schedulingType shortSha diff --git a/spec/graphql/types/ci/runner_machine_type_spec.rb b/spec/graphql/types/ci/runner_manager_type_spec.rb index 289cc52e27b..240e1edbf78 100644 --- a/spec/graphql/types/ci/runner_machine_type_spec.rb +++ b/spec/graphql/types/ci/runner_manager_type_spec.rb @@ -2,12 +2,12 @@ require 'spec_helper' -RSpec.describe GitlabSchema.types['CiRunnerMachine'], feature_category: :runner_fleet do - specify { expect(described_class.graphql_name).to eq('CiRunnerMachine') } +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_machine) } + specify { expect(described_class).to require_graphql_authorizations(:read_runner_manager) } - it 'contains attributes related to a runner machine' do + 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 diff --git a/spec/graphql/types/ci/runner_type_spec.rb b/spec/graphql/types/ci/runner_type_spec.rb index 9e360f44a4f..58a30e5c226 100644 --- a/spec/graphql/types/ci/runner_type_spec.rb +++ b/spec/graphql/types/ci/runner_type_spec.rb @@ -9,7 +9,7 @@ RSpec.describe GitlabSchema.types['CiRunner'], feature_category: :runner do it 'contains attributes related to a runner' do expected_fields = %w[ - id description created_by created_at contacted_at machines maximum_timeout access_level active paused status + id description created_by created_at contacted_at managers maximum_timeout access_level active paused status version short_sha revision locked run_untagged ip_address runner_type tag_list project_count job_count admin_url edit_admin_url register_admin_url user_permissions executor_name architecture_name platform_name maintenance_note maintenance_note_html groups projects jobs token_expires_at |