Sha256: 03bf6ce7b39b551c8e13e4d23506f9040fbc721fe6eee707d502a65cd93babaa

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 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.dirname(__FILE__) + '/../lib')
require 'lightning'

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.1.2 test/test_helper.rb