diff options
Diffstat (limited to 'spec/commands/install_spec.rb')
-rw-r--r-- | spec/commands/install_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb index e48d5009ae..efefdbef4f 100644 --- a/spec/commands/install_spec.rb +++ b/spec/commands/install_spec.rb @@ -31,6 +31,16 @@ describe "bundle install with gem sources" do expect(bundled_app("Gemfile.lock")).to exist end + it "does not create ./.bundle by default" do + gemfile <<-G + source "file://#{gem_repo1}" + gem "rack" + G + + bundle :install # can't use install_gemfile since it sets retry + expect(bundled_app(".bundle")).not_to exist + end + it "creates lock files based on the Gemfile name" do gemfile bundled_app("OmgFile"), <<-G source "file://#{gem_repo1}" |