diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-13 22:05:45 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-14 09:11:28 +0900 |
commit | 35bbbc751d626e1955c87613a5103f0efc0b1942 (patch) | |
tree | a4dcee066fa84ebc7b1fcee1aff87303ab4fca91 /spec/bundler | |
parent | d4acf254e360096f869f344108ba7ef2ba1f5a92 (diff) |
clean-up .bundle directory in bundled_app
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3105
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/install/gemfile/lockfile_spec.rb | 4 |
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 |