canvas-lms/spec/presenters
Spencer Olson b7fbfd7592 sort by title for assignments not in modules
when sorting assignments by 'module', assignments
that are not in modules will now sort by title.

closes CNVS-27392

test plan:
- create a course that has multiple modules.
- add a few assignments to each module, and
  also make sure a few assignments are _not_
  in any modules.
- sort assignments by 'module' on the
  /courses/:course_id/assignments/:user_id
  page.
- verify the assignments that are not in modules
  are located below all the assignments that are in
  modules.
- verify the assignments that are not in modules
  are sorted alphabetically, ignoring case ("apple"
  should be sorted before "Banana")

Change-Id: I1e250bbe9b5e99bbd477095e97ba27a44a23b4ad
Reviewed-on: https://gerrit.instructure.com/72798
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Reviewed-by: Strand McCutchen <smccutchen@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Christi Wruck
2016-02-25 20:40:27 +00:00
..
quizzes remove non-draft-state everything 2014-12-10 17:57:18 +00:00
account_authorization_configs_presenter_spec.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
course_for_menu_presenter_spec.rb course nicknames 2015-10-21 23:03:51 +00:00
discussion_topic_presenter_spec.rb remove non-draft-state everything 2014-12-10 17:57:18 +00:00
grade_summary_assignment_presenter_spec.rb guard grade_distribution to fix error on concluded student's grade page 2015-02-03 00:37:29 +00:00
grade_summary_presenter_spec.rb sort by title for assignments not in modules 2016-02-25 20:40:27 +00:00
grades_presenter_spec.rb rails4: helper/initializer/presenter/misc spec fixes 2015-07-22 20:21:09 +00:00
mark_done_presenter_spec.rb require students to be active to complete requirements 2016-02-08 18:12:47 +00:00
override_list_presenter_spec.rb misc improvements for assignments, calendar events and modules 2015-06-29 15:45:27 +00:00
override_tooltip_presenter_spec.rb rspec 3-ify spec/presenters 2014-10-13 23:12:43 +00:00
section_tab_presenter_spec.rb Fix LTI 2 links for the navigation tabs 2015-06-23 17:09:05 +00:00