Internalized assertions.

This makes us independent of test/unit and minitest.
This commit is contained in:
Jim Weirich
2013-07-10 17:25:39 -04:00
parent 2202e07785
commit 0e6d826af4
3 changed files with 65 additions and 18 deletions

View File

@@ -122,7 +122,7 @@ class AboutMessagePassing < Neo::Koan
def test_catching_messages_makes_respond_to_lie
catcher = AllMessageCatcher.new
assert_nothing_raised(NoMethodError) do # __
assert_nothing_raised do # __
catcher.any_method
end
assert_equal __(false), catcher.respond_to?(:any_method)