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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-11 18:15:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-11 18:15:55 +0300
commita8281ac43424e4b820286823bdb48f068b21d7d3 (patch)
treef8064c724e33f22402ecc4bd0a8c23ea01e6eac1 /spec/graphql/types/clusters/agent_token_status_enum_spec.rb
parent22391da1261240ecc15aa15cbb19b089339902b5 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql/types/clusters/agent_token_status_enum_spec.rb')
-rw-r--r--spec/graphql/types/clusters/agent_token_status_enum_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/graphql/types/clusters/agent_token_status_enum_spec.rb b/spec/graphql/types/clusters/agent_token_status_enum_spec.rb
new file mode 100644
index 00000000000..071e4050cfb
--- /dev/null
+++ b/spec/graphql/types/clusters/agent_token_status_enum_spec.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe Types::Clusters::AgentTokenStatusEnum do
+ it { expect(described_class.graphql_name).to eq('AgentTokenStatus') }
+ it { expect(described_class.values.keys).to match_array(Clusters::AgentToken.statuses.keys.map(&:upcase)) }
+end