Fix tests
This commit is contained in:
parent
65a80d2d9e
commit
fb908ed574
|
@ -4,10 +4,10 @@ class HydrantMailer < ActionMailer::Base
|
||||||
def reminder_email(hydrant)
|
def reminder_email(hydrant)
|
||||||
@hydrant = hydrant
|
@hydrant = hydrant
|
||||||
@user = hydrant.user
|
@user = hydrant.user
|
||||||
mail(
|
mail({
|
||||||
:to => hydrant.user.email,
|
:to => hydrant.user.email,
|
||||||
:from => "reminder@#{default_url_options[:host]}",
|
:from => "reminder@#{default_url_options[:host]}",
|
||||||
:subject => ["Remember to Shovel", hydrant.name].compact.join(' '),
|
:subject => ["Remember to Shovel", hydrant.name].compact.join(' '),
|
||||||
)
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue