summaryrefslogtreecommitdiff
path: root/spec/install
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-10 12:54:51 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-10 12:54:51 -0500
commitb0119a002fd58fd3d5a7cab53b90d2753f10cc78 (patch)
tree6787d14159d11b6eaeedce3d0c78d2da56a4c729 /spec/install
parent87acd062146fc9be5acd45948ef282f31d5bba44 (diff)
downloadbundler-b0119a002fd58fd3d5a7cab53b90d2753f10cc78.tar.gz
Update case sensitivity spec to work on all FSseg-info-case
Diffstat (limited to 'spec/install')
-rw-r--r--spec/install/gems/compact_index_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb
index 61f81f10fa..0edd1d20e7 100644
--- a/spec/install/gems/compact_index_spec.rb
+++ b/spec/install/gems/compact_index_spec.rb
@@ -58,7 +58,10 @@ describe "compact index api" do
gem "Rack", "0.1"
G
- expect(the_bundle).to include_gems("rack 1.0", "Rack 1.0")
+ # can't use `include_gems` here since the `require` will conflict on a
+ # case-insensitive FS
+ run! "Bundler.require; puts Gem.loaded_specs.values_at('rack', 'Rack').map(&:full_name)"
+ expect(out).to eq("rack-1.0\nRack-0.1")
end
it "should handle multiple gem dependencies on the same gem" do