summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/install/gemfile/lockfile_spec.rb4
1 files changed, 2 insertions, 2 deletions
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