canvas-lms/spec/models/assignments
Nick Pitrak c9faee1caa fix anonymous moderated grading
anonymous grading was not working for moderated assignments.
this commit adds graded_anonymously to the provisional grade
model to address the issue.

fixes CNVS-29261

test plan:
- create a Course with a Teacher, Student and TA
- on the Course Settings page in the Feature Options tab,
  turn on Anonymous Grading
- create and publish an assignment with the Moderated Grading
  checkbox enabled
- masquerade as the TA and grade the assignment in Speedgrader
- note the student's name is 'Student 1'
- masquerade as the Teacher and from the Assignment page, click
  the Moderate button
- click the Post button to push the moderated grades to the
  gradebook
- masquerade as the Student and open the Assignment page
- in the Submission Details box on the right, the
  'Graded Anonymously' field should read 'Yes'

Change-Id: I2e87635020cebb0bc81853d8eead228bbb5f1e6d
Reviewed-on: https://gerrit.instructure.com/83503
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Neil Gupta <ngupta@instructure.com>
Tested-by: Jenkins
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Christi Wruck
2016-07-14 22:07:45 +00:00
..
needs_grading_count_query_spec.rb fix anonymous moderated grading 2016-07-14 22:07:45 +00:00
scoped_to_user_spec.rb decouple assignments scope permission logic from api index 2015-07-17 17:01:36 +00:00