summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-08-02 15:35:22 -0700
committerCarlhuda <carlhuda@engineyard.com>2010-08-02 15:35:22 -0700
commiteb8b01659a7ffbbf2be177414e0cff873c24396e (patch)
treefb119eae7de4b3c0f69d1d85f066d7a268972f49
parentca95a90ab86d3298a31c34e9a87ba64d7845ece5 (diff)
downloadbundler-eb8b01659a7ffbbf2be177414e0cff873c24396e.tar.gz
Fix output tests
-rw-r--r--spec/runtime/environment_rb_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/runtime/environment_rb_spec.rb b/spec/runtime/environment_rb_spec.rb
index 7ec4cbe932..91920f8c53 100644
--- a/spec/runtime/environment_rb_spec.rb
+++ b/spec/runtime/environment_rb_spec.rb
@@ -135,7 +135,9 @@ describe "environment.rb file" do
end
bundle :install
out.should include("was a LoadError while evaluating bar.gemspec")
- out.should include("try to require a relative path")
+ out.should include("foobarbaz")
+ out.should include("bar.gemspec:1")
+ out.should include("try to require a relative path") if RUBY_VERSION >= "1.9.0"
end
it "evals each gemspec with a binding from the top level" do