Displaying 1 result from an estimated 1 matches for "contact_mailer_test".
2006 Jul 25
1
Managing backtrace
...om
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.rb:61:in `method_missing''
./test/unit/contact_mailer_test.rb:39:in `test_confirm'']:
assert_not_include: expected joes@shmoe.com not in joes@shmoe.com
What I''d prefer is to remove the items in the backtrace array that refer
to the test method because they don''t add information but am not certain
how. Rails uses clean_backtra...