canvas-lms/spec/presenters
Jackson Huang c32de99fdb how dash when submission is not graded
there was no check for if a submission has not yet
been graded yet and that nil score would be used
to calculate score to show

Test Plan:
- Enable the feature option "restrict view of quantitative data" at the account level and course level
- As a student, access that assignment and submit to it
- As that student, navigate to the submissions page through the grades or assignment page
- Notice that the ungraded submission has a grade: "-"

fixes EVAL-3801
flag=none

Change-Id: I784578bc520c66be0cd5c1518978bf949956c466
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/344877
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-07-05 18:58:02 +00:00
..
course_pacing use more idiomatic ruby for PaceService 2023-12-05 21:50:45 +00:00
quizzes rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
submission how dash when submission is not graded 2024-07-05 18:58:02 +00:00
assignment_presenter_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
authentication_providers_presenter_spec.rb Remove more settings 2024-01-29 16:21:38 +00:00
course_for_menu_presenter_spec.rb Remove k5_font_selection flag 2023-06-22 23:34:00 +00:00
course_pace_presenter_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
discussion_topic_presenter_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
grade_summary_assignment_presenter_spec.rb round pointsBased scores to 2 decimal places 2024-06-03 15:52:24 +00:00
grade_summary_presenter_spec.rb fix n+1s in DiscussionTopicsController#index 2023-10-31 20:50:55 +00:00
grades_presenter_spec.rb display minus instead of en-dash 2023-10-09 16:24:10 +00:00
grading_period_grade_summary_presenter_spec.rb fix grading period presenter bug 2023-11-08 21:44:31 +00:00
mark_done_presenter_spec.rb Ignore invalid module_item_ids passed for MarkDonePresenter 2023-07-07 19:56:34 +00:00
override_list_presenter_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
override_tooltip_presenter_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
section_tab_presenter_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
to_do_list_presenter_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00