summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/commands/install_spec.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 59f418ac0a..4a47d64b41 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -506,23 +506,6 @@ describe "bundle install with gem sources" do
expect(cached_rack).to exist
end
- it "copies gems from the local cache to the global cache" do
- gemfile <<-G
- source "#{source}"
- gem "rack"
- G
-
- bundle :install, :artifice => "endpoint"
- bundle :cache
- FileUtils.rm_r(default_bundle_path)
- FileUtils.rm_r(download_cache(source))
- expect(cached_gem("rack-1.0.0")).to exist
-
- bundle :install, :artifice => "endpoint_no_gem"
- should_be_installed "rack 1.0.0"
- expect(download_cache(source, "rack-1.0.0.gem")).to exist
- end
-
describe "when the same gem from different sources is installed" do
it "should use the appropriate one from the global cache" do
gemfile <<-G