summaryrefslogtreecommitdiff
path: root/spec/support/indexes.rb
diff options
context:
space:
mode:
authorchrismo <chrismo@clabs.org>2016-06-21 17:25:22 -0500
committerchrismo <chrismo@clabs.org>2016-07-08 19:35:57 -0500
commit3d3aeda062896d71396e9529decc60acf15f108b (patch)
treef069c7ac9c4903b5bea9dfad6a0de61e9bcf6641 /spec/support/indexes.rb
parent3630f18c8119d5b8534b72f9e6b32db6a7a5b533 (diff)
downloadbundler-3d3aeda062896d71396e9529decc60acf15f108b.tar.gz
Clarified changing dependency specs.
A couple of confusing cases that should be clearer now and the differences called out. Details in the spec code and comments. Plus some MODO additions and other pending spec additions.
Diffstat (limited to 'spec/support/indexes.rb')
-rw-r--r--spec/support/indexes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb
index 7de62eefeb..59ee91ca52 100644
--- a/spec/support/indexes.rb
+++ b/spec/support/indexes.rb
@@ -55,7 +55,7 @@ module Spec
end)
end
- def should_consv_resolve_and_include(opts, unlock, specs)
+ def should_conservative_resolve_and_include(opts, unlock, specs)
# empty unlock means unlock all
opts = Array(opts)
search = Bundler::GemVersionPromoter.new(@locked, unlock).tap do |s|
@@ -63,7 +63,7 @@ module Spec
s.strict = opts.include?(:strict)
s.minimal = opts.include?(:minimal)
end
- should_resolve_and_include specs, [{}, [], nil, search]
+ should_resolve_and_include specs, [{}, @base, nil, search]
end
def an_awesome_index