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