There is inconsistency in the way ratings are shown
in the UI for Outcome Proficiencies associated to Rubrics.
Sometimes the values will display as a float and other
times the value will display as a whole number.
closes OUT-4089
flag = none
test plan:
- With a rubric with 1 rating as float with decimal
and 1 rating as integer
- Open the rubric page like /accounts/1/rubrics/1
- Verify the integer rating doesn't display with
".0" at the end, like "3.0"
- Verify the float rating displays correctly
- Click on edit rubric
- Put different values and save
- Verify that float and integer displays correctly
Change-Id: Iaee638a497efc81dd12ac4f9e6194406acba412c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/254340
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Martin Yosifov <martin.yosifov@instructure.com>
Reviewed-by: Pat Renner <prenner@instructure.com>
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Product-Review: Michael Brewer-Davis <mbd@instructure.com>