canvas-lms/spec/migrations
Christian Prescott 978b27106b fix floating point error in Quiz points_possible arithmetc
closes CNVS-33804

Test Plan
before checking out the change, create a quiz with enough fractional
point questions to create rounding error. Here's one: 29 questions at
3.3 points each. Or 20 at 4.02 points each.
The quiz show page should have a points value that isn't precisely right.
As a student, create a submission to the quiz.
Check out this change. Run migrations.
Ensure the quiz no longer has imprecise points_possible.
Ensure the submission does not need regrading.
Ensure editing or creating quizzes with fractional points no longer
creates rounding error. Ensure submissions no longer need regrading
after editing quiz fields unrelated to score.

Change-Id: I6d761a6ceb8dae47b72e9454912c14aa94b6e50b
Reviewed-on: https://gerrit.instructure.com/111956
Reviewed-by: Ryan Taylor <rtaylor@instructure.com>
Tested-by: Jenkins
QA-Review: Michael Hargiss <mhargiss@instructure.com>
Product-Review: Kevin Dougherty <jdougherty@instructure.com>
2017-05-31 22:09:44 +00:00
..
add_context_to_content_exports_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
add_manage_rubrics_permission_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
add_manage_storage_quotas_permission_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
add_pseudonym_to_student_view_students_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
add_role_id_columns_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
add_role_overrides_for_new_permission_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
assignment_override_title_change_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
associate_graded_discussion_attachments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
build_enrollment_states_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
change_enrollments_role_id_null_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
cleanup_duplicate_external_feeds_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
create_context_external_tool_placements_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
delete_duplicate_notification_endpoints_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
disable_open_registration_for_delegated_auth_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_broken_file_links_in_assignments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_bulk_message_attachments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_content_tags_without_content_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_conversation_root_account_ids_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_dissociated_discussion_topics_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_folder_names_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_group_discussion_submissions_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_groups_with_duplicate_wiki_and_uuid_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_imported_assignment_turnitin_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_imported_wiki_page_workflow_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_incorrect_attachment_file_state_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_incorrect_published_states_on_quizzes_and_assignments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_media_recording_submission_types_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_out_of_sync_outcome_alignments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_overwritten_file_module_items_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_points_possible_sums_in_quizzes_spec.rb fix floating point error in Quiz points_possible arithmetc 2017-05-31 22:09:44 +00:00
fix_ridiculous_web_conference_durations_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_root_outcome_group_titles_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_rubric_assessment_yaml_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_user_conversations_counts_for_all_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_user_merge_conversations2_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
fix_user_merge_conversations_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
link_missing_sis_observer_enrollments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
move_content_export_notifications_to_migration_category_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
move_scribd_docs_to_root_attachments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
populate_conversation_message_properties_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
populate_conversation_root_account_ids_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
populate_group_category_on_discussion_topics_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
populate_stream_item_notification_category_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
populate_submission_versions_spec.rb Update DueDateCacher to use EffectiveDueDates 2017-05-11 20:54:44 +00:00
reassociate_conversation_attachments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
recalculate_muted_assignments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
reintroduce_deleted_entries_to_unread_count_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_bogus_enrollment_associated_user_ids_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_discussion_entry_attachment_foreign_key_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_duplicate_group_memberships_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_extraneous_conversation_tags_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_multiple_root_folders_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
remove_orphaned_context_module_progressions_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
resanitize_assignments_allowed_extensions_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
set_account_lti_opaque_ids_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
set_role_override_columns_not_null_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
syckness_cleanser_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
undelete_some_outcome_alignments_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
unify_active_assignment_workflow_states_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00