summaryrefslogtreecommitdiff
path: root/spec/graphql/loaders
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/loaders
parent01d8a804f7b92152d89434291ac79c80098a0472 (diff)
downloadgitlab-ce-34754-graphql-start.tar.gz
Convert from GraphQL::Batch to BatchLoader34754-graphql-start
Diffstat (limited to 'spec/graphql/loaders')
-rw-r--r--spec/graphql/loaders/full_path_loader_spec.rb6
-rw-r--r--spec/graphql/loaders/iid_loader_spec.rb6
2 files changed, 0 insertions, 12 deletions
diff --git a/spec/graphql/loaders/full_path_loader_spec.rb b/spec/graphql/loaders/full_path_loader_spec.rb
index 2a473239550..2732dd8c9da 100644
--- a/spec/graphql/loaders/full_path_loader_spec.rb
+++ b/spec/graphql/loaders/full_path_loader_spec.rb
@@ -24,12 +24,6 @@ describe Loaders::FullPathLoader do
expect(result).to be_nil
end
-
- it 'returns a promise' do
- batch do
- expect(resolve_project(project1.full_path)).to be_a(Promise)
- end
- end
end
def resolve_project(full_path)
diff --git a/spec/graphql/loaders/iid_loader_spec.rb b/spec/graphql/loaders/iid_loader_spec.rb
index 8a0c1f0791a..0a57d7c4ed4 100644
--- a/spec/graphql/loaders/iid_loader_spec.rb
+++ b/spec/graphql/loaders/iid_loader_spec.rb
@@ -50,12 +50,6 @@ describe Loaders::IidLoader do
expect(result).to be_nil
end
-
- it 'returns a promise' do
- batch do
- expect(resolve_mr(full_path, iid_1)).to be_a(Promise)
- end
- end
end
def resolve_mr(full_path, iid)