search for: contactmailertest

Displaying 2 results from an estimated 2 matches for "contactmailertest".

2006 Jul 25
1
Managing backtrace
...or 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.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...
2006 Jul 24
1
Testing w/out DB connection
I have several plain ruby classes that do nothing but implement algorithms. What is the prefferred way to run these w/out making a DB connection every time? Thanks, Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/5ff610dd/attachment.html