canvas-lms/spec/factories
Augusto Callejas 33e4f27bbd Use versioned submission for tracking outcomes
fixes OUT-4264

flag=none

This fixes an issue where we use the latest submission's
version to determine what assessment questions are used
(to then determine outcome alignments) instead of the
attempt version provided.

test plan:
  - qa-cr

Change-Id: I20d0bf4cc9d433e9e1865e35a3e37f29acd3efc0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/259136
Reviewed-by: Pat Renner <prenner@instructure.com>
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Augusto Callejas <acallejas@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-02-22 19:49:14 +00:00
..
account_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
account_notification_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
analytics_2_tool_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
announcement_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
assessment_question_bank_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
assessment_question_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
assessment_request.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
assignment_factory.rb show all NQ & QO together in the "add to module" modal 2021-01-14 19:38:33 +00:00
assignment_override_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
attachment_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
bookmark_service_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
calendar_event_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
collaboration_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
communication_channel_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
conversation_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
course_factory.rb Copy To search polish 2021-02-17 18:17:09 +00:00
course_section_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
custom_data_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
delayed_message_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
discussion_topic_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
enrollment_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
eportfolio_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
external_feed_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
external_tool_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
folder_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
grading_period_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
grading_period_group_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
grading_standard_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
group_category_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
group_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
group_membership_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
late_policy_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
line_item_factory.rb part 3: change lookup_id and resource_link_id to UUID datatype 2021-02-11 18:02:20 +00:00
lti_result_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
media_object_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
message_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
notification_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
notification_policy_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
observer_alert_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
observer_alert_threshold_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
outcome_calculation_method_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
outcome_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
outcome_proficiency_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
page_view_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
planner_note_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
planner_override_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
pseudonym_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
pseudonym_session_factory.rb Direct sessionless launches to correct shard 2020-12-15 18:24:57 +00:00
quiz_factory.rb Use versioned submission for tracking outcomes 2021-02-22 19:49:14 +00:00
resource_link_factory.rb part 3.1: change lookup_id and resource_link_id to UUID datatype 2021-02-17 18:08:57 +00:00
role_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rubric_assessment_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rubric_association_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rubric_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
submission_comment_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
submission_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
user_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
user_service_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
wiki_page_factory.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00