Sha256: 88830f9953f8c0b2f2e1e874e58ef13da22db04bfb1112fc3b21d2654477978b
Contents?: true
Size: 621 Bytes
Versions: 4
Compression:
Stored size: 621 Bytes
Contents
require File.expand_path '../test_helper.rb', __FILE__ class TestMabmapper < MiniTest::Unit::TestCase #Minitest::Test def setup @engine = load_engine! end end tests_to_run = ENV['TESTS'].split unless ENV['TESTS'].nil? # require and include all mabmapper test modules Dir.glob(File.expand_path '../mabmapper/test_*.rb', __FILE__).each do |filename| if tests_to_run.nil? || tests_to_run.any? { |name_of_test| "test_#{name_of_test}" == File.basename(filename, '.rb') } require filename TestMabmapper.instance_eval do include File.basename(filename, '.rb').camelize.constantize end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mabmapper-1.0.0.pre18 | test/test_mabmapper.rb |
mabmapper-1.0.0.pre17 | test/test_mabmapper.rb |
mabmapper-1.0.0.pre16 | test/test_mabmapper.rb |
mabmapper-1.0.0.pre15 | test/test_mabmapper.rb |