mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Internalized assertions.
This makes us independent of test/unit and minitest.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user