diff options
author | Douwe Maan <douwe@gitlab.com> | 2019-03-05 15:46:00 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-03-05 15:46:00 +0000 |
commit | 01b1076bd869a5bbcbaf6df55e825cc39f705e2a (patch) | |
tree | 37cff8f781e81ce82b3530a84b9215c268192694 /spec/graphql | |
parent | 21779d00186d75349165d6c07dbe04aace68017c (diff) | |
download | gitlab-ce-01b1076bd869a5bbcbaf6df55e825cc39f705e2a.tar.gz |
Apply suggestion to spec/graphql/types/query_type_spec.rb
Diffstat (limited to 'spec/graphql')
-rw-r--r-- | spec/graphql/types/query_type_spec.rb | 2 |
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 |