diff options
author | Colby Swandale <colby@taplaboratories.com> | 2018-01-27 12:14:36 +1100 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2018-01-27 12:14:36 +1100 |
commit | 62fd15e0198ceab8f6c54508afaa4ab3676f823d (patch) | |
tree | 6122f59ec4db23ecb149913a4efb04a252b8e6b7 | |
parent | 51959f43e2613b007a2abeadcd81555124e7845b (diff) | |
download | bundler-62fd15e0198ceab8f6c54508afaa4ab3676f823d.tar.gz |
fix whitespace to make rubocop happy and add spacing between `it blocks
-rw-r--r-- | spec/update/gemfile_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/update/gemfile_spec.rb b/spec/update/gemfile_spec.rb index 626db52fb6..f59f3a2d32 100644 --- a/spec/update/gemfile_spec.rb +++ b/spec/update/gemfile_spec.rb @@ -35,6 +35,7 @@ RSpec.describe "bundle update" do expect(out).to include("rack (1.0.0)") end + it "uses the gemfile while in a subdirectory" do bundled_app("subdir").mkpath Dir.chdir(bundled_app("subdir")) do @@ -48,7 +49,7 @@ RSpec.describe "bundle update" do context "with prefer_gems_rb set" do before { bundle! "config prefer_gems_rb true" } - + it "prefers gems.rb to Gemfile" do create_file("gems.rb", "gem 'bundler'") create_file("Gemfile", "raise 'wrong Gemfile!'") |