summaryrefslogtreecommitdiff
path: root/spec/graphql/gitlab_schema_spec.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2019-04-11 11:07:06 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2019-04-18 16:17:29 +0200
commiteca8e6f09b1800b58904582b527103b5c755e898 (patch)
tree78f02e514f2974f414f86381c1a63cd3a350405f /spec/graphql/gitlab_schema_spec.rb
parent0a99e0220d9371423039f05f700af3675b26624f (diff)
downloadgitlab-ce-eca8e6f09b1800b58904582b527103b5c755e898.tar.gz
Only check abilities on rendered GraphQL nodes
With this we only check abilities on the rendered edges of a GraphQL connection instead of all the nodes in it.
Diffstat (limited to 'spec/graphql/gitlab_schema_spec.rb')
-rw-r--r--spec/graphql/gitlab_schema_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/gitlab_schema_spec.rb b/spec/graphql/gitlab_schema_spec.rb
index 74e93b2c4df..05f10fb40f0 100644
--- a/spec/graphql/gitlab_schema_spec.rb
+++ b/spec/graphql/gitlab_schema_spec.rb
@@ -74,6 +74,6 @@ describe GitlabSchema do
end
def field_instrumenters
- described_class.instrumenters[:field]
+ described_class.instrumenters[:field] + described_class.instrumenters[:field_after_built_ins]
end
end