Fix tests
This commit is contained in:
parent
65a80d2d9e
commit
fb908ed574
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue