Assigning a variable so the test passes when correct code is added.

This commit is contained in:
Caius Durling
2009-02-07 02:13:34 +00:00
parent 9e799a7178
commit 77013b1afd

View File

@@ -72,7 +72,7 @@ class AboutMessagePassing < EdgeCase::Koan
def test_sending_undefined_messages_to_a_typical_object_results_in_errors
typical = TypicalObject.new
assert_raise(___) do
exception = assert_raise(___) do
typical.foobar
end
assert_match(/foobar/, exception.message)