зеркало из https://github.com/github/ruby.git
clean-up .bundle directory in bundled_app
This commit is contained in:
Родитель
d4acf254e3
Коммит
35bbbc751d
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче