summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-09-11 16:30:52 +0300
committerAndre Arko <andre@arko.net>2014-09-14 11:23:05 +0300
commit0f69a0fa4f43c293b3de889ef1a3aa608c53650d (patch)
treef605a3d3c55f190a41e17a610e74d847bf666f85
parent456c78651679cb9c3c0ee8bb4d08801ad990399b (diff)
downloadbundler-0f69a0fa4f43c293b3de889ef1a3aa608c53650d.tar.gz
avoid ivar warning in spec_helper
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 54e79bdcf8..bef35a1aa9 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -103,7 +103,7 @@ RSpec.configure do |config|
end
config.after :each do |example|
- puts @out if example.exception
+ puts @out if defined?(@out) && example.exception
Dir.chdir(original_wd)
# Reset ENV