Commit c8233782d1c97cd6a88d69d4fc65aff6382615fc
1 parent
25116fbb
Exists in
master
and in
1 other branch
Removing unnecessary prompt tracking test
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
lib/tasks/test_api.rake
... | ... | @@ -534,9 +534,9 @@ namespace :test_api do |
534 | 534 | error_message+= "Error! Question #{question.id} has an inconsistent # of choices! cached#: #{cached_choices_size}, actual#: #{actual_choices_size}\n" |
535 | 535 | end |
536 | 536 | |
537 | - if cached_prompts_size != question.choices.size **2 - question.choices.size | |
538 | - error_message += "Error! Question #{question.id} has an incorrect number of prompts! Expected #{question.choices.size **2 - question.choices.size}, Actual: #{cached_prompts_size}\n" | |
539 | - end | |
537 | + #if cached_prompts_size != question.choices.size **2 - question.choices.size | |
538 | + # error_message += "Error! Question #{question.id} has an incorrect number of prompts! Expected #{question.choices.size **2 - question.choices.size}, Actual: #{cached_prompts_size}\n" | |
539 | + #end | |
540 | 540 | return error_message.blank? ? [success_message, false] : [error_message, true] |
541 | 541 | end |
542 | 542 | ... | ... |