Sha256: a74fb4c476d7f6be3a55a118cdf62d7aa15d93e58a57592773ed2303d3c42fa7
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
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.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 end #from ActiveSupport class Hash def slice(*keys) reject { |key,| !keys.include?(key) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cldwalker-lightning-0.2.0 | test/test_helper.rb |