From 62fd15e0198ceab8f6c54508afaa4ab3676f823d Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Sat, 27 Jan 2018 12:14:36 +1100 Subject: fix whitespace to make rubocop happy and add spacing between `it blocks --- spec/update/gemfile_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!'") -- cgit v1.2.1