Commit 6a94e874b9830d7bffd12b923459a4c67f263c34

Authored by Luke Baker
1 parent ca3dbbbd

revert test change to use not equal

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/test_api.rake
@@ -659,7 +659,7 @@ namespace :test_api do @@ -659,7 +659,7 @@ namespace :test_api do
659 total_votes = Vote.count 659 total_votes = Vote.count
660 total_skips = Skip.count 660 total_skips = Skip.count
661 661
662 - if (total_answered_appearances < total_votes+ total_skips) 662 + if (total_answered_appearances != total_votes+ total_skips)
663 difference = (total_votes+ total_skips) - total_answered_appearances 663 difference = (total_votes+ total_skips) - total_answered_appearances
664 error_message += "Error! There are #{difference} votes or skips without associated appearance objects." 664 error_message += "Error! There are #{difference} votes or skips without associated appearance objects."
665 end 665 end