Commit eb973b57fbce3cb4b827f5fddc593713aaba01c6
1 parent
927d459d
Exists in
master
and in
1 other branch
renable appearances test
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
lib/tasks/test_api.rake
... | ... | @@ -470,12 +470,12 @@ namespace :test_api do |
470 | 470 | print "Either 0 or 100 This score is wrong! #{choice.id} , Question ID: #{question.id}, #{cached_score}, #{generated_score}, updated: #{choice.updated_at}\n" |
471 | 471 | end |
472 | 472 | |
473 | - #unless question_has_votes_before_2010_02_17 | |
474 | - # message, error_occurred = verify_choice_appearances_and_votes(choice) | |
475 | - # if error_occurred | |
476 | - # error_message += message + "\n" | |
477 | - # end | |
478 | - #end | |
473 | + unless question_has_votes_before_2010_02_17 | |
474 | + message, error_occurred = verify_choice_appearances_and_votes(choice) | |
475 | + if error_occurred | |
476 | + error_message += message + "\n" | |
477 | + end | |
478 | + end | |
479 | 479 | |
480 | 480 | |
481 | 481 | if cached_score >= 50 | ... | ... |