From 35bbbc751d626e1955c87613a5103f0efc0b1942 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 13 May 2020 22:05:45 +0900 Subject: clean-up .bundle directory in bundled_app --- spec/bundler/install/gemfile/lockfile_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/bundler/install/gemfile/lockfile_spec.rb b/spec/bundler/install/gemfile/lockfile_spec.rb index d656bf563f..42233c4282 100644 --- a/spec/bundler/install/gemfile/lockfile_spec.rb +++ b/spec/bundler/install/gemfile/lockfile_spec.rb @@ -30,8 +30,8 @@ RSpec.describe "bundle install with a lockfile present" do expect(bundled_app("evals").read.lines.to_a.size).to eq(2) end - context "when the gem is not installed", :ruby_repo do - before { FileUtils.rm_rf ".bundle" } + context "when the gem is not installed" do + before { FileUtils.rm_rf bundled_app(".bundle") } it "does not evaluate the gemfile twice" do bundle! :install -- cgit v1.2.3