diff options
| -rw-r--r-- | spec/bundler/commands/clean_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb index 793aacf5c2..81209388ae 100644 --- a/spec/bundler/commands/clean_spec.rb +++ b/spec/bundler/commands/clean_spec.rb @@ -913,12 +913,10 @@ RSpec.describe "bundle clean" do # Simulate that the locked bundler version is installed in the bundle path # by creating the gem directory and gemspec (as would happen after bundle install with that version) Pathname(vendored_gems("cache/bundler-#{version}.gem")).tap do |path| - path.basename.mkpath FileUtils.touch(path) end FileUtils.touch(vendored_gems("gems/bundler-#{version}")) Pathname(vendored_gems("specifications/bundler-#{version}.gemspec")).tap do |path| - path.basename.mkpath path.write(<<~GEMSPEC) Gem::Specification.new do |s| s.name = "bundler" |
