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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb
index c56d6145a7..69f8d9f679 100644
--- a/spec/support/indexes.rb
+++ b/spec/support/indexes.rb
@@ -66,6 +66,7 @@ module Spec
search = Bundler::GemVersionPromoter.new(@locked, unlock).tap do |s|
s.level = opts.first
s.strict = opts.include?(:strict)
+ s.prerelease_specified = Hash[@deps.map {|d| [d.name, d.requirement.prerelease?] }]
end
should_resolve_and_include specs, [@base, search]
end