spec/spec_helper.rb in darkhelmet-darkext-0.11.2 vs spec/spec_helper.rb in darkhelmet-darkext-0.12.0

- old
+ new

@@ -1,9 +1,12 @@ require 'rubygems' require 'spec' # gem install redgreen for colored test output -begin require 'redgreen' unless ENV['TM_CURRENT_LINE']; rescue LoadError; end +begin + require 'redgreen' unless ENV['TM_CURRENT_LINE']; +rescue LoadError +end path = File.expand_path(File.dirname(__FILE__) + '/../lib/') $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path) require 'lib/darkext'