summaryrefslogtreecommitdiff
path: root/spec/graphql/types/clusters/agent_type_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/types/clusters/agent_type_spec.rb')
-rw-r--r--spec/graphql/types/clusters/agent_type_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/types/clusters/agent_type_spec.rb b/spec/graphql/types/clusters/agent_type_spec.rb
index a1e5952bf73..3f4faccf15d 100644
--- a/spec/graphql/types/clusters/agent_type_spec.rb
+++ b/spec/graphql/types/clusters/agent_type_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe GitlabSchema.types['ClusterAgent'] do
it { expect(described_class.graphql_name).to eq('ClusterAgent') }
- it { expect(described_class).to require_graphql_authorizations(:admin_cluster) }
+ it { expect(described_class).to require_graphql_authorizations(:read_cluster) }
it { expect(described_class).to have_graphql_fields(fields) }
end