diff options
Diffstat (limited to 'spec/graphql/types/clusters/agent_type_spec.rb')
-rw-r--r-- | spec/graphql/types/clusters/agent_type_spec.rb | 2 |
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 3f4faccf15d..bb1006c55c0 100644 --- a/spec/graphql/types/clusters/agent_type_spec.rb +++ b/spec/graphql/types/clusters/agent_type_spec.rb @@ -9,5 +9,5 @@ RSpec.describe GitlabSchema.types['ClusterAgent'] do it { expect(described_class).to require_graphql_authorizations(:read_cluster) } - it { expect(described_class).to have_graphql_fields(fields) } + it { expect(described_class).to include_graphql_fields(*fields) } end |