search for: itemcr

Displaying 1 result from an estimated 1 matches for "itemcr".

Did you mean: itemc
2007 May 29
0
specs for ActionMailer
...nerated unit tests to rspec, and then changing/adding examples as I implement the emails. In this scenario, an AdminNotify message is sent when a create action of PagesController class completes. ----------------- app/models/admin_notify.rb : class AdminNotify < ActionMailer::Base def itemcreated(item, sent_at = Time.now) @subject = ''MySite: itemcreated'' @body = { :item => item } @recipients = ''admin at gmail.com'' @from = ''mysite at gmail.com'' @sent_on = sent_at @sent_on = sent_a...