aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime/load_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-03-31 15:54:48 -0700
committerAndre Arko <andre@arko.net>2010-04-02 00:46:58 -0700
commit4c9a157fd36739c5f21ffeeb93068ca968f26ef0 (patch)
tree375ed100b905ba77bbf182b7410392f6efd80aa5 /spec/runtime/load_spec.rb
parent354ef9174e13208a963cf40ac78c2e0a878fe128 (diff)
downloadbundler-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.rb3
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