Sha256: f4276cccccdf689790fce19c4c9357b71852fc7e2984baf3dc7f7df6a60fc940
Contents?: true
Size: 328 Bytes
Versions: 1
Compression:
Stored size: 328 Bytes
Contents
require 'rubygems' require 'test/unit' require 'active_support/test_case' class MTest < Test::Unit::TestCase def m(arguments) `ruby -Ilib ./bin/m #{arguments} 2>&1`.strip end def assert_output(regexp, output) assert $?.success?, "Execution failed, output:\n\n#{output}" assert_match regexp, output end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
m-0.0.1 | test/test_helper.rb |