refs: CNVS-27399
Test Plan:
- Given an assignment with 100 points possible
- In gradebook, submission details modal
(the comments icon), Gradebook: Individual View,
and from SpeedGrader™:
- When the assignment is graded with 149 or 0 points
- Then no warning is present
- When the assignment is graded 150
- Then a warning is present
- When the assignment is graded -1
- Then a negative warning is present
- When the assignment has no points possible, or is excused
- Then there is no warning present
Notes:
- This should work for any assignment where there is a total points
possible value except for 0
Change-Id: I528f3c4e71276d1e2696d47cb5709ff9d7c44fff
Reviewed-on: https://gerrit.instructure.com/85945
Tested-by: Jenkins
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Neil Gupta <ngupta@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Christi Wruck