1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

clean-up .bundle directory in bundled_app

This commit is contained in:
Hiroshi SHIBATA 2020-05-13 22:05:45 +09:00
parent d4acf254e3
commit 35bbbc751d
Notes: git 2020-05-14 09:11:57 +09:00

View file

@ -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