From fb908ed57475aad00a97edc5f31953af59521d70 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Sat, 25 Jun 2011 02:53:37 -0700 Subject: [PATCH] Fix tests --- app/mailers/hydrant_mailer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailers/hydrant_mailer.rb b/app/mailers/hydrant_mailer.rb index db19e5b..546dd8e 100644 --- a/app/mailers/hydrant_mailer.rb +++ b/app/mailers/hydrant_mailer.rb @@ -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