diff options
author | Andre Arko <andre@arko.net> | 2010-03-31 15:54:48 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-04-02 00:46:58 -0700 |
commit | 4c9a157fd36739c5f21ffeeb93068ca968f26ef0 (patch) | |
tree | 375ed100b905ba77bbf182b7410392f6efd80aa5 /spec/runtime/load_spec.rb | |
parent | 354ef9174e13208a963cf40ac78c2e0a878fe128 (diff) | |
download | bundler-4c9a157fd36739c5f21ffeeb93068ca968f26ef0.tar.gz |
Clean up bundler.rb a bit, fix spec
Diffstat (limited to 'spec/runtime/load_spec.rb')
-rw-r--r-- | spec/runtime/load_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb index 396de5bc..07a0de2d 100644 --- a/spec/runtime/load_spec.rb +++ b/spec/runtime/load_spec.rb @@ -34,7 +34,8 @@ describe "Bundler.load" do it "raises an exception if a specified gemfile is not found" do lambda { - Bundler.load("omg.rb") + ENV['BUNDLE_GEMFILE'] = "omg.rb" + Bundler.load }.should raise_error(Bundler::GemfileNotFound, /omg\.rb/) end |