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>2021-12-01 12:10:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-12-01 12:10:25 +0300
commit7bc1ee0bcb9cefaf788aa0b93383b7347e9010b0 (patch)
tree4cd125d7c55603ae87b2ca93b8ef89d71c2c5ef8 /spec/graphql/types/clusters/agent_activity_event_type_spec.rb
parent9b646e9297a1d9bcc7397c76010011f56df1579d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql/types/clusters/agent_activity_event_type_spec.rb')
-rw-r--r--spec/graphql/types/clusters/agent_activity_event_type_spec.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/graphql/types/clusters/agent_activity_event_type_spec.rb b/spec/graphql/types/clusters/agent_activity_event_type_spec.rb
new file mode 100644
index 00000000000..7773bad749d
--- /dev/null
+++ b/spec/graphql/types/clusters/agent_activity_event_type_spec.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe GitlabSchema.types['ClusterAgentActivityEvent'] do
+ let(:fields) { %i[recorded_at kind level user agent_token] }
+
+ it { expect(described_class.graphql_name).to eq('ClusterAgentActivityEvent') }
+ it { expect(described_class).to require_graphql_authorizations(:admin_cluster) }
+ it { expect(described_class).to have_graphql_fields(fields) }
+end