test/minitest_5_test.rb in m-1.3.4 vs test/minitest_5_test.rb in m-1.4.0
- old
+ new
@@ -32,7 +32,13 @@
assert !$?.success?
assert_match(/No tests found on line 3. Valid tests to run:/, output)
assert_match %r{ test_that_kitty_can_eat: m examples/minitest_5_example_test\.rb:19}, output
assert_match %r{test_that_it_will_not_blend: m examples/minitest_5_example_test\.rb:23}, output
end
+
+ def test_run_with_after_run_block
+ output = m('examples/minitest_5_example_test.rb')
+
+ assert_output(/ran after run block/, output)
+ end
end
end