diff --git a/lib/tasks/test_api.rake b/lib/tasks/test_api.rake index 0d7b8ec..2590183 100644 --- a/lib/tasks/test_api.rake +++ b/lib/tasks/test_api.rake @@ -459,9 +459,11 @@ 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 - message, error_occurred = verify_choice_appearances_and_votes(choice) - if error_occurred - error_message += message + unless question_has_votes_before_2010_02_17 + message, error_occurred = verify_choice_appearances_and_votes(choice) + if error_occurred + error_message += message + end end -- libgit2 0.21.2