summaryrefslogtreecommitdiff
path: root/spec/support/indexes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/indexes.rb')
-rw-r--r--spec/support/indexes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb
index dc6e0bd1e9..7440523fc9 100644
--- a/spec/support/indexes.rb
+++ b/spec/support/indexes.rb
@@ -26,6 +26,10 @@ module Spec
end
end
source_requirements ||= {}
+ args[0] ||= [] # base
+ args[1] ||= Bundler::GemVersionPromoter.new # gem_version_promoter
+ args[2] ||= [] # additional_base_requirements
+ args[3] ||= @platforms # platforms
Bundler::Resolver.resolve(deps, @index, source_requirements, *args)
end