Commit a2f0c417ee8758a8bae5eb4838f247afdae8efb0
Exists in
master
and in
1 other branch
Merge branch 'master' of github.com:allourideas/pairwise-api
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,12 +470,12 @@ namespace :test_api do | ||
| 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" | 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 | end | 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 | if cached_score >= 50 | 481 | if cached_score >= 50 |