Fix tests

This commit is contained in:
Erik Michaels-Ober 2011-06-25 02:53:37 -07:00
parent 65a80d2d9e
commit fb908ed574
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@ class HydrantMailer < ActionMailer::Base
def reminder_email(hydrant)
@hydrant = hydrant
@user = hydrant.user
mail(
mail({
:to => hydrant.user.email,
:from => "reminder@#{default_url_options[:host]}",
:subject => ["Remember to Shovel", hydrant.name].compact.join(' '),
)
})
end
end