canvas-lms/spec/lib
Sarah Gerard 795a8055a6 Include graded discussions in EDD + slm calls
The issue with the loading spinner in the graded
discussions edit page turned out to be an issue
with caching when adding/removing a discussion from
a module. This patchset addresses that and ensures
graded discussion's assignments are included in EDD

closes LX-1623
flag=differentiated_modules

test plan:
- create a module and add an override to it
- create a graded discussion
- add the graded discussion to the module and then
  immediately go to the discussion's edit page
- ensure that the assign to tray button appears
- test that the discussion has the correct submissions
  after adding/removing it from a module with overrides
- to check the discussions submissions - in a rails console
  run discussion.assignment.submissions and ensure that there
  are submissions objects for everyone assigned to the
  discussion

Change-Id: If3f57166bf78a35e86244685a42a1783db585198
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347699
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Sarah Gerard <sarah.gerard@instructure.com>
2024-05-21 16:38:31 +00:00
..
active_support/cache rails 7.1: spec/lib 2024-02-21 17:51:31 +00:00
address_book Mentions should only allow discussion visible users 2024-02-27 16:00:22 +00:00
api Prevent blank resource link title from being saved 2024-05-20 19:33:46 +00:00
app_center RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
authentication_methods don't use OpenStruct in Workflow 2024-05-10 16:16:43 +00:00
basic_lti don't use OpenStruct in Workflow 2024-05-10 16:16:43 +00:00
canvadocs Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
canvas Add context uuid to LOR updated and created live event data 2024-05-14 17:18:54 +00:00
cc new quizzes remain in their modules upon export 2024-05-02 22:08:28 +00:00
data_fixup Fix media_object source and link usage 2024-04-30 21:21:50 +00:00
ext RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
feature_flags Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
features rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
gradebook grade override status with null score 2023-11-02 20:31:50 +00:00
latex Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
lti Don't forward empty titles in LTI 1.3 Launches 2024-05-20 20:52:41 +00:00
messageable_user Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
microsoft_sync spec: cleanup usage of timecop 2024-03-05 21:42:41 +00:00
outcomes Add 255 char limit error when importing friendly desc 2024-02-22 20:22:20 +00:00
pandata_events correctly set ttl for pandata events auth tokens 2024-04-10 18:25:14 +00:00
rake RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
reporting Remove a lot of settings 2024-01-09 21:32:17 +00:00
sentry_extensions Improve ignored_columns handling 2024-03-01 01:10:34 +00:00
services Stop duplicate push notifications 2024-05-20 16:30:45 +00:00
sis drop long-deprecated group category columns 2024-04-09 20:19:40 +00:00
support_helpers Rename DueDateCacher to SubmissionLifecycleManager 2023-07-11 14:43:12 +00:00
token_scopes add REST backend support for discussion summary prototype 2024-05-10 15:05:33 +00:00
turnitin bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
user_content Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
utils bump i18n 2023-05-04 16:16:29 +00:00
acts_as_list_spec.rb Improve ignored_columns handling 2024-03-01 01:10:34 +00:00
address_book_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
anonymity_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
api_scope_mapper_fallback_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
api_spec.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
asset_signature_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
assignment_override_applicator_spec.rb Support discussions/wiki pages in AssignmentOverrideApplicator 2024-04-08 22:24:26 +00:00
assignment_util_spec.rb bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
atom_feed_helper_spec.rb use the RSS library instead of ratom-nokogiri 2024-04-04 21:00:38 +00:00
authentication_methods_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
basic_lti_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
brand_account_chain_resolver_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
brand_config_helpers_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
brand_config_regenerator_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
brandable_css_spec.rb bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
browser_support_spec.rb Allow Chrome OS LTS 2023-02-22 16:57:41 +00:00
canvadocs_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
canvas_imported_html_converter_spec.rb Update media html links to media_attachment links 2024-04-16 07:37:35 +00:00
canvas_spec.rb send stats for CAS specific auth timeouts 2024-03-12 22:14:05 +00:00
checkpoint_spec.rb Add overrides to Checkpoints in REST API 2024-04-03 15:30:24 +00:00
content_notices_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
content_zipper_spec.rb rails 7.1: use fixture_file helper 2024-02-20 17:51:31 +00:00
course_link_validator_spec.rb handle sylalbus links more robustly 2023-10-18 20:09:13 +00:00
course_pace_due_dates_calculator_spec.rb Use calendar event blackout dates in due date calculations 2022-08-10 18:58:39 +00:00
course_pace_hard_end_date_compressor_spec.rb Include account blackout dates in compressor 2023-11-15 18:13:23 +00:00
course_paces_date_helpers_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
crummy_spec.rb RuboCop: Lint/UnusedBlockArgument spec 2021-10-26 20:41:00 +00:00
csv_with_i18n_spec.rb rubocop: Rails/I18nLocaleAssignment 2023-06-13 21:59:50 +00:00
cuty_capt_spec.rb make sure to upload the attachment for submission snapshots 2024-03-18 21:00:35 +00:00
dates_overridable_spec.rb Support discussions/wiki pages in AssignmentOverrideApplicator 2024-04-08 22:24:26 +00:00
delayed_message_scrubber_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
differentiable_assignment_spec.rb Hide modules that a student isn't assigned 2024-01-17 16:44:22 +00:00
dump_helper_spec.rb bundle update rubocop 2023-12-06 14:25:02 +00:00
duplicating_objects_spec.rb Remove unnecessary require statements 2023-01-04 21:38:21 +00:00
effective_due_dates_spec.rb Include graded discussions in EDD + slm calls 2024-05-21 16:38:31 +00:00
email_address_validator_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
enrollments_from_user_list_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
external_feed_aggregator_spec.rb RuboCop: Style/PercentLiteralDelimiters 2021-11-18 23:05:50 +00:00
feature_flag_definitions_spec.rb RuboCop: Style/SymbolArray, Style/WordArray 2021-11-23 14:30:08 +00:00
feature_flags_spec.rb bundle update rubocop 2024-01-24 16:17:43 +00:00
feature_spec.rb bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
file_authenticator_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
file_in_context_spec.rb Stop duplicating files on repeat cartridge imports 2022-02-03 15:07:56 +00:00
grade_calculator_coffee_spec.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
grade_calculator_spec.rb bundle update rubocop 2024-03-01 21:44:54 +00:00
gradebook_exporter_spec.rb add custom status to gradebook exports 2023-08-23 20:56:59 +00:00
gradebook_grading_period_assignments_spec.rb Rename DueDateCacher to SubmissionLifecycleManager 2023-07-11 14:43:12 +00:00
gradebook_importer_spec.rb fix csv import override score 2023-09-19 17:11:05 +00:00
gradebook_user_ids_spec.rb multi-select student groups 2024-02-21 17:49:21 +00:00
grading_period_helper_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
ha_store_spec.rb rails 7.1: spec/lib 2024-02-21 17:51:31 +00:00
health_checks_spec.rb rails 7.1: fix health checks 2024-02-29 22:30:16 +00:00
host_url_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
i18n_spec.rb rubocop: Rails/I18nLocaleAssignment 2023-06-13 21:59:50 +00:00
i18n_time_zone_spec.rb bundle update rubocop 2023-09-13 13:31:05 +00:00
inst_fs_spec.rb rewind before retrying inst-fs upload 2023-12-04 20:31:49 +00:00
job_live_events_context_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
late_policy_applicator_spec.rb make late/missing policies ignore submissions with custom status 2023-08-04 16:49:02 +00:00
latex_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
llm_configs_spec.rb add REST backend support for discussion summary prototype 2024-05-10 15:05:33 +00:00
local_cache_spec.rb rails 7.1: spec/lib 2024-02-21 17:51:31 +00:00
locale_selection_spec.rb Remove feature flag for Irish locale 2024-03-27 14:06:50 +00:00
logging_filter_spec.rb RuboCop: Style/HashSyntax 2021-11-25 14:02:35 +00:00
material_changes_spec.rb avoid recalculating enrollment states due to truncation 2023-05-16 19:36:36 +00:00
math_man_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
message_dispatcher_spec.rb Improve error logging for message batch dispatching 2022-06-23 15:10:18 +00:00
messageable_user_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
missing_policy_applicator_spec.rb recheck submissions are still missing in missing_policy_applicator 2024-02-15 18:45:08 +00:00
model_cache_spec.rb bundle update rubocop 2024-01-24 16:17:43 +00:00
moderation_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
must_view_module_progressor_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
mutable_spec.rb RuboCop: Style/EmptyMethod 2021-11-19 22:26:24 +00:00
notification_message_creator_spec.rb Create notification policies when CC is confirmed 2024-03-06 17:08:23 +00:00
package_root_spec.rb introduce bootsnap 2022-10-04 13:18:03 +00:00
pandata_events_spec.rb change pandata events API call from job to thread 2024-04-08 19:21:40 +00:00
password_policy_spec.rb RuboCop: Style/HashSyntax 2021-11-25 14:02:35 +00:00
permissions_helper_spec.rb bump and apply rubocop gems 2023-05-19 18:57:17 +00:00
plannable_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
planner_api_helper_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
planner_helper_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
postgresql_adapter_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
progress_runner_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
safe_yaml_spec.rb rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
samesite_transition_cookie_store_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
scope_filter_spec.rb bump rubocop-performance 2023-04-12 19:29:39 +00:00
score_statistics_generator_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
search_term_helper_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
security_spec.rb stop using deprecated URI.* methods 2022-12-14 15:18:20 +00:00
sentry_proxy_spec.rb Upgrade Sentry SDKs 2022-01-10 16:58:07 +00:00
session_token_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
smart_search_spec.rb smart search: fix searching while upgrading index 2024-05-20 15:48:51 +00:00
smart_searchable_spec.rb smart search: fix searching while upgrading index 2024-05-20 15:48:51 +00:00
sort_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
sorts_assignments_spec.rb spec: cleanup usage of timecop 2024-03-05 21:42:41 +00:00
spec_helper_spec.rb RuboCop: Style/HashSyntax 2021-11-25 14:02:35 +00:00
ssl_common_spec.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
stats_spec.rb bundle update rubocop 2024-04-10 16:31:10 +00:00
sticky_sis_fields_spec.rb rails 7.1: spec/lib 2024-02-21 17:51:31 +00:00
submission_lifecycle_manager_spec.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
submission_list_spec.rb remove OpenObject usage 2024-04-23 17:47:19 +00:00
submission_search_spec.rb support group assignments for sg2 2024-04-19 17:45:39 +00:00
submittable_spec.rb Separate page/discussion visibility scopes (flagged) 2024-05-01 15:59:38 +00:00
summary_message_consolidator_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
text_helper_spec.rb rubocop: Layout/Multiline*LineBreaks 2023-05-01 19:31:42 +00:00
timed_cache_spec.rb rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
token_scopes_spec.rb add lti.getPageContent to postMessage API 2024-04-19 15:33:59 +00:00
turnitin_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
unzip_attachment_spec.rb Remove a lot of settings 2024-01-09 21:32:17 +00:00
user_content_spec.rb Fix precise link replacement code 2024-01-25 18:26:19 +00:00
user_list_spec.rb Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
user_list_v2_spec.rb bump rubocop gems and apply changes 2023-08-07 20:13:35 +00:00
user_merge_spec.rb handle conflicting notification policies for user merge 2024-04-16 18:53:33 +00:00
user_search_spec.rb Allow admins to search and view deleted users 2024-01-11 01:49:01 +00:00
uuid_helper_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
validates_as_url.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
yaml_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00