mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Assigning a variable so the test passes when correct code is added.
This commit is contained in:
@@ -72,7 +72,7 @@ class AboutMessagePassing < EdgeCase::Koan
|
|||||||
def test_sending_undefined_messages_to_a_typical_object_results_in_errors
|
def test_sending_undefined_messages_to_a_typical_object_results_in_errors
|
||||||
typical = TypicalObject.new
|
typical = TypicalObject.new
|
||||||
|
|
||||||
assert_raise(___) do
|
exception = assert_raise(___) do
|
||||||
typical.foobar
|
typical.foobar
|
||||||
end
|
end
|
||||||
assert_match(/foobar/, exception.message)
|
assert_match(/foobar/, exception.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user