canvas-lms/spec/javascripts
Spencer Olson 4fd5a4c65d don't load modules when course is not module based
closes EVAL-1243
flag=none

Test Plan:
1. Create a module with some assignments in it and at least one
   completion requirement.
2. Open your browser dev tools and go to gradebook. Notice there is
   an AJAX request made to /api/v1/courses/:id/modules. Once the page
   loads, verify you can select a "Modules" option from the
   "View -> Filters" menu, and that you can then filter gradebook
   content by that module.
3. Delete the module. Open your browsers dev tools and go to gradebook.
   Notice there is no longer an AJAX request made to
   /api/v1/courses/:id/modules.

Change-Id: I6339acbe635a31e02eaa119fc391fde0121c542e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248936
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Jody Sailor
2020-10-21 17:20:44 +00:00
..
fixtures remove unused fixtures 2018-05-02 16:36:17 +00:00
jsx don't load modules when course is not module based 2020-10-21 17:20:44 +00:00
str Fix some invalid imports 2018-10-09 21:31:57 +00:00
support upgrade react-apollo to 3.x.x 2019-08-26 23:28:25 +00:00
apollo_without_react_spec.js mock testing for vanilla apollo client 2019-02-21 22:18:14 +00:00
collaborationsSpec.js spec: Run prettier on spec/ 2019-10-10 20:16:14 +00:00
message_studentsSpec.js spec: Run prettier on spec/ 2019-10-10 20:16:14 +00:00
qunit.serializer-fix.js spec: Run prettier on spec/ 2019-10-10 20:16:14 +00:00
webpack_spec_index.js spec: move JS splitting into webpack config 2020-07-14 16:09:09 +00:00