Sha256: 167fc9d58a1fb33b0bb49e4dbf4dde9b599ef8a44570889a6d1c421f66bf3a73
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 Bytes
Contents
require 'minitest/autorun' require 'nanotest' begin require 'redgreen' require 'phocus' rescue LoadError, RuntimeError end class MiniTest::Unit::TestCase def self.test(name, &block) define_method("test_#{name.gsub(/\s/,'_').downcase}", &block) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nanotest-0.9.4 | test/test_helper.rb |
nanotest-0.9.3 | test/test_helper.rb |
nanotest-0.9.2 | test/test_helper.rb |
nanotest-0.9.1 | test/test_helper.rb |