diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:24:21 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:24:21 -0600 |
commit | 521c81dc8e91b5f584b9692328b61da55c782fb2 (patch) | |
tree | 7596e968081e35dab9ea1fdc6e085b63d1a01691 /spec/runtime/load_spec.rb | |
parent | bf5c235523b98bad8e69b172f0d9bc02b8616604 (diff) | |
download | bundler-521c81dc8e91b5f584b9692328b61da55c782fb2.tar.gz |
[RuboCop] Enable Style/BlockDelimiters
Diffstat (limited to 'spec/runtime/load_spec.rb')
-rw-r--r-- | spec/runtime/load_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb index 950e8e9b..b7c856ac 100644 --- a/spec/runtime/load_spec.rb +++ b/spec/runtime/load_spec.rb @@ -29,10 +29,10 @@ describe "Bundler.load" do end it "ignores blank BUNDLE_GEMFILEs" do - expect { + expect do ENV["BUNDLE_GEMFILE"] = "" Bundler.load - }.not_to raise_error + end.not_to raise_error end end @@ -55,16 +55,16 @@ describe "Bundler.load" do describe "without a gemfile" do it "raises an exception if the default gemfile is not found" do - expect { + expect do Bundler.load - }.to raise_error(Bundler::GemfileNotFound, /could not locate gemfile/i) + end.to raise_error(Bundler::GemfileNotFound, /could not locate gemfile/i) end it "raises an exception if a specified gemfile is not found" do - expect { + expect do ENV["BUNDLE_GEMFILE"] = "omg.rb" Bundler.load - }.to raise_error(Bundler::GemfileNotFound, /omg\.rb/) + end.to raise_error(Bundler::GemfileNotFound, /omg\.rb/) end it "does not find a Gemfile above the testing directory" do |