summaryrefslogtreecommitdiff
path: root/spec/graphql/gitlab_schema_spec.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-02-23 15:36:40 +0000
committerNick Thomas <nick@gitlab.com>2018-02-23 15:36:40 +0000
commitb890b7b7742a32ae2dcfd696c2c44a866bdc385c (patch)
tree4f38311a81701a82b8c25cc6f214f5466faa5016 /spec/graphql/gitlab_schema_spec.rb
parent01d8a804f7b92152d89434291ac79c80098a0472 (diff)
downloadgitlab-ce-b890b7b7742a32ae2dcfd696c2c44a866bdc385c.tar.gz
Convert from GraphQL::Batch to BatchLoader34754-graphql-start
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 3582f297866..070b851b109 100644
--- a/spec/graphql/gitlab_schema_spec.rb
+++ b/spec/graphql/gitlab_schema_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe GitlabSchema do
it 'uses batch loading' do
- expect(described_class.instrumenters[:multiplex]).to include(GraphQL::Batch::SetupMultiplex)
+ expect(field_instrumenters).to include(BatchLoader::GraphQL)
end
it 'enables the preload instrumenter' do