From eb973b57fbce3cb4b827f5fddc593713aaba01c6 Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Tue, 5 Jul 2011 22:51:45 -0400 Subject: [PATCH] renable appearances test --- lib/tasks/test_api.rake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/tasks/test_api.rake b/lib/tasks/test_api.rake index 5ba6b8f..18e88b7 100644 --- a/lib/tasks/test_api.rake +++ b/lib/tasks/test_api.rake @@ -470,12 +470,12 @@ namespace :test_api do print "Either 0 or 100 This score is wrong! #{choice.id} , Question ID: #{question.id}, #{cached_score}, #{generated_score}, updated: #{choice.updated_at}\n" end - #unless question_has_votes_before_2010_02_17 - # message, error_occurred = verify_choice_appearances_and_votes(choice) - # if error_occurred - # error_message += message + "\n" - # end - #end + unless question_has_votes_before_2010_02_17 + message, error_occurred = verify_choice_appearances_and_votes(choice) + if error_occurred + error_message += message + "\n" + end + end if cached_score >= 50 -- libgit2 0.21.2