canvas-lms/spec/models/moderated_grading
Gary Mei c1333d724e fix deleting rubrics from moderated assignments
fixes TALLY-213
flag=none

When a teacher used a rubric to grade a student for a moderated
assignment and then deleted the rubric, the lingering rubric
assessments would attempt to access a rubric association that no
longer existed.

Test Plan
- Create a moderated assignment.
- Attach a *graded* rubric to the assignment.
- As a provisional grader, use the rubric to grade a student.
- As a different provisional grader, grade the same student with a
  different score, not using the rubric.
- Delete the rubric.
- In the Moderate page, select the grade that resulted from the
  rubric.
- Attempt to release and post grades.
- Verify that the grade that resulted from the rubric is the grade
  the student sees.

Change-Id: I0fdb35b77c9a4b8244b58652eee48434f0a2c2cb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/225444
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Jonathan Fenton <jfenton@instructure.com>
2020-02-05 23:25:45 +00:00
..
null_provisional_grade_spec.rb Add provisional grade audit events 2018-09-13 14:21:30 +00:00
provisional_grade_spec.rb fix deleting rubrics from moderated assignments 2020-02-05 23:25:45 +00:00
selection_spec.rb add 'provisional grade selected' event 2018-09-05 17:07:51 +00:00