test/test_helper.rb in cldwalker-lightning-0.1.2 vs test/test_helper.rb in cldwalker-lightning-0.2.0

- old
+ new

@@ -1,11 +1,14 @@ require 'rubygems' require 'test/unit' require 'context' #gem install jeremymcanally-context -s http://gems.github.com require 'stump' #gem install jeremymcanally-stump -s http://gems.github.com require 'pending' #gem install jeremymcanally-pending -s http://gems.github.com -$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') +$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'lightning' +#set up valid global config file +Lightning.config_file = File.join(File.dirname(__FILE__), 'lightning.yml') + class Test::Unit::TestCase def assert_arrays_equal(a1, a2) assert_equal a1.map {|e| e.to_s}.sort, a2.map{|e| e.to_s}.sort end