diff options
author | Andre Arko <andre@arko.net> | 2014-09-11 16:30:52 +0300 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-09-14 11:23:05 +0300 |
commit | 0f69a0fa4f43c293b3de889ef1a3aa608c53650d (patch) | |
tree | f605a3d3c55f190a41e17a610e74d847bf666f85 /spec/spec_helper.rb | |
parent | 456c78651679cb9c3c0ee8bb4d08801ad990399b (diff) | |
download | bundler-0f69a0fa4f43c293b3de889ef1a3aa608c53650d.tar.gz |
avoid ivar warning in spec_helper
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
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 |