Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 5328939a0f
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.37 kB
require './lib/m'
require 'test/unit'
require 'active_support/test_case'
class MTest < Test::Unit::TestCase
def m(arguments)
Dir.chdir("test") do
`ruby -I../lib -I. ../bin/m #{arguments} 2>&1`.strip
end
end
def assert_output(regexp, output)
assert $?.success?, "Execution failed, output:\n\n#{output}"
assert_match regexp, output
end
end
Jump to Line
Something went wrong with that request. Please try again.