[rspec-users] how to write a spec for an actionmailer method
lists at ruby-forum.com
Tue Apr 14 10:11:22 EDT 2009
I try following and it works. i don't know how but it pass the test
gives me 100% coverage and also i receive a test email.
describe ApplicationHelper do
it "should use ActionMailer to send a confirmation email" do
Notifier.deliver_conta('Salil','salil at cipher-tech.com', 123456)
Posted via http://www.ruby-forum.com/.
More information about the rspec-users