Commit 4b2884aa1e78c45780f8cdf1286e17d2e86c6d20
1 parent
d155fa25
Exists in
master
and in
1 other branch
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 | 46 | end |
47 | 47 | |
48 | 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 | 50 | else |
51 | 51 | CronMailer.deliver_info_message("#{CRON_EMAIL},#{ERRORS_EMAIL}", "Error! Failure of API Vote Consistency " , error_msg) |
52 | 52 | end | ... | ... |