diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-24 21:49:21 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-24 21:49:21 +0100 |
commit | b4675e9f3009014a89a283fca717515ec524cb76 (patch) | |
tree | 7b660c5206fc6a02de4be9a7ef794692561a7b42 | |
parent | 9dd43cecfe098774919a53cea1f5805a9be3d831 (diff) | |
download | bundler-b4675e9f3009014a89a283fca717515ec524cb76.tar.gz |
Remove unnecessary folder removals
Everything in this tests happens inside `tmp/` and `tmp/` is cleaned up
after each spec.
-rw-r--r-- | spec/cache/path_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb index 3f3d4ec893..bd47ac925d 100644 --- a/spec/cache/path_spec.rb +++ b/spec/cache/path_spec.rb @@ -26,7 +26,6 @@ RSpec.describe "bundle cache with path" do expect(bundled_app("vendor/cache/foo-1.0")).to exist expect(bundled_app("vendor/cache/foo-1.0/.bundlecache")).to be_file - FileUtils.rm_rf lib_path("foo-1.0") expect(the_bundle).to include_gems "foo 1.0" end @@ -45,7 +44,6 @@ RSpec.describe "bundle cache with path" do expect(bundled_app("vendor/cache/#{libname}")).to exist expect(bundled_app("vendor/cache/#{libname}/.bundlecache")).to be_file - FileUtils.rm_rf libpath expect(the_bundle).to include_gems "#{libname} 1.0" end @@ -66,7 +64,6 @@ RSpec.describe "bundle cache with path" do bundle :cache expect(bundled_app("vendor/cache/foo-1.0")).to exist - FileUtils.rm_rf lib_path("foo-1.0") run "require 'foo'" expect(out).to eq("CACHE") |