Displaying 1 result from an estimated 1 matches for "assert_include".
2006 Jul 25
1
Managing backtrace
I''m writing a method_missing handler to "automagically" create
assertions from predicate functions. So, for example, one use might be:
assert_not_include ''joes@shmoe.com'', response.to
-or-
assert_include ''info@mydomain.com'', response.from
The code is working properly, but when I trigger an assert, the
backtrace shows something like:
1) Failure:
test_confirm(ContactMailerTest)
[./test/unit/../test_helper.rb:74:in `method_missing''
./test/unit/../test_helper.r...