summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/graphql/types/query_type_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/types/query_type_spec.rb b/spec/graphql/types/query_type_spec.rb
index fd75b8f700b..07c61ea7647 100644
--- a/spec/graphql/types/query_type_spec.rb
+++ b/spec/graphql/types/query_type_spec.rb
@@ -29,7 +29,7 @@ describe GitlabSchema.types['Query'] do
is_expected.to have_graphql_resolver(Resolvers::MetadataResolver)
end
- it 'authorizes with log_in' do
+ it 'authorizes with read_instance_metadata' do
is_expected.to require_graphql_authorizations(:read_instance_metadata)
end
end