Commit 4b2884aa1e78c45780f8cdf1286e17d2e86c6d20

Authored by Dhruv Kapadia
1 parent d155fa25

Typo

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/test_api.rake
@@ -46,7 +46,7 @@ namespace :test_api do @@ -46,7 +46,7 @@ namespace :test_api do
46 end 46 end
47 47
48 if error_msg.blank? 48 if error_msg.blank?
49 - CronMailer.deliver_info_message(CRON_EMAIL, "Test of API Vote Consistency passed", "Examined #{questions.count} questions and found no irregulaties") 49 + CronMailer.deliver_info_message(CRON_EMAIL, "Test of API Vote Consistency passed", "Examined #{questions.length} questions and found no irregulaties")
50 else 50 else
51 CronMailer.deliver_info_message("#{CRON_EMAIL},#{ERRORS_EMAIL}", "Error! Failure of API Vote Consistency " , error_msg) 51 CronMailer.deliver_info_message("#{CRON_EMAIL},#{ERRORS_EMAIL}", "Error! Failure of API Vote Consistency " , error_msg)
52 end 52 end