Displaying 2 results from an estimated 2 matches for "test_confirm".
Did you mean:
test_config
2006 Jul 25
1
Managing backtrace
...ctions. 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.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&...
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a
side-effect, sends an email to an administrator. I want it to do
something like this:
specify "when someone successfully signs up, an email should be sent
to the administrator with the person''s contact page" do
post :signup, {...lots o'' params}
response should_be success
#