From 3c4496f9ac495665806efe3236c57f177ab45768 Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Mon, 18 Oct 2010 14:52:38 -0400 Subject: [PATCH] modify cron emailer to pass receipients as array --- lib/tasks/test_api.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/test_api.rake b/lib/tasks/test_api.rake index 505cf4b..d1a0262 100644 --- a/lib/tasks/test_api.rake +++ b/lib/tasks/test_api.rake @@ -336,7 +336,7 @@ namespace :test_api do if errors.empty? CronMailer.deliver_info_message(CRON_EMAIL, "Test of API Vote Consistency passed", email_text) else - CronMailer.deliver_info_message("#{CRON_EMAIL},#{ERRORS_EMAIL}", "Error! Failure of API Vote Consistency " , email_text) + CronMailer.deliver_info_message(CRON_EMAIL.to_a + ERRORS_EMAIL.to_a, "Error! Failure of API Vote Consistency " , email_text) end end -- libgit2 0.21.2