canvas-lms/spec/models
Simon Williams 93f1103731 require course assignment groups in a saner way
fixes CNVS-15252

test plan:
- create a new course and DO NOT visit the assignment index page
- go create a new ungraded discussion
- refresh the discussion show page a few times
- go to the assignment index page
- there should only be 1 assignment group (the default)
- repeat the process with an ungraded quiz

Change-Id: If6714bef05379a0f1253a0843d473695a1372456
Reviewed-on: https://gerrit.instructure.com/40709
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2014-09-08 22:01:54 +00:00
..
alerts spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assignments needs_grading by section for mobile 2014-09-08 13:21:31 +00:00
auditors clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
broadcast_policies prevent notifications when a course is soft concluded 2014-06-11 19:36:34 +00:00
content_migration require course assignment groups in a saner way 2014-09-08 22:01:54 +00:00
courses extract student to teacher mapping 2014-05-02 21:47:31 +00:00
data_exports_api spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
discussion_topic spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
enrollment API tweaks to support querying upcoming enrollments/courses 2014-05-23 18:50:25 +00:00
exporters user submission export 2014-07-29 14:56:03 +00:00
group_categories Automatically Assign group leaders 2014-05-23 17:23:53 +00:00
importers fix importing module items with missing content 2014-08-18 18:12:35 +00:00
incoming_mail extract incoming mail into gem 2014-04-25 23:06:02 +00:00
live_assessments spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
lti add tool setting service 2014-09-08 16:58:00 +00:00
messages Use source user as "FROM" for emails 2014-05-31 01:02:14 +00:00
polling spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
quizzes Course Quiz Extension: A course level quiz extension API 2014-09-05 16:26:07 +00:00
access_token_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
account_authorization_config_spec.rb split yaml file loading out of Setting 2014-05-21 18:27:06 +00:00
account_notification_spec.rb spec: once-ler, now with sharding support 2014-07-14 16:09:27 +00:00
account_spec.rb migrate has_X context_external_tool columns to separate table 2014-08-12 12:13:42 +00:00
account_user_spec.rb fix permission checks for available roles 2014-07-21 16:32:23 +00:00
active_record_base_spec.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
alert_spec.rb move all DelayedJob Alert code into separate class 2014-05-02 21:48:55 +00:00
announcement_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
appointment_group_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assessment_question_bank_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assessment_question_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assessment_request_spec.rb Adds peer review notification for assigning peer reviewers 2014-07-25 19:56:57 +00:00
asset_user_access_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assignment_group_spec.rb DA - fix N+1 on visible_assignments 2014-08-12 17:30:45 +00:00
assignment_override_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assignment_override_student_spec.rb spec: basic once-ler integration, speed up some specs 2014-07-01 02:59:23 +00:00
assignment_spec.rb DA - notifications for assignments 2014-09-08 21:52:28 +00:00
assignment_student_visibility_spec.rb DA - sql view and shared methods 2014-07-15 18:03:57 +00:00
attachment_spec.rb Fixes Profile avatar on thumbnail no longer showing correct image 2014-08-22 22:17:51 +00:00
big_blue_button_conference_spec.rb spec: replace it_should_behave_like with include_examples 2014-01-24 16:02:26 +00:00
bookmark_service_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
bounce_notification_processor_spec.rb bounced email handling 2014-09-04 16:48:13 +00:00
broadcast_policies_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
calendar_event_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
canvadoc_spec.rb canvadocs 2014-05-09 22:38:57 +00:00
cloned_item_spec.rb fix update/save_without_callbacks for rails 3 2014-01-31 17:03:16 +00:00
collaboration_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
collaborator_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
communication_channel_spec.rb bounced email handling 2014-09-04 16:48:13 +00:00
content_export_spec.rb give content_exports polymorphic context 2014-07-09 16:34:39 +00:00
content_migration_spec.rb spec: speed up content migrations specs 2014-08-03 18:23:26 +00:00
content_participation_count_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
content_participation_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
content_tag_spec.rb spec: fix fragile file specs 2014-07-23 13:04:32 +00:00
context_external_tool_spec.rb add missing LTI params to ContentItemSelectionResponse message 2014-09-05 21:07:38 +00:00
context_module_progression_spec.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
context_module_spec.rb allow observers to view all module content 2014-08-22 15:21:41 +00:00
context_spec.rb move draft state under feature flag umbrella 2013-11-26 20:43:49 +00:00
conversation_batch_spec.rb spec: once-ler, now with sharding support 2014-07-14 16:09:27 +00:00
conversation_message_participant_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
conversation_message_spec.rb spec: speed up more slow model specs 2014-07-31 16:48:28 +00:00
conversation_participant_spec.rb spec: once-ler, now with sharding support 2014-07-14 16:09:27 +00:00
conversation_spec.rb spec: speed up more slow model specs 2014-07-31 16:48:28 +00:00
course_progress_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
course_section_spec.rb move deleted enrollments when cross listing sections 2014-07-02 18:45:04 +00:00
course_spec.rb Allow enrollments to be recreated as active 2014-09-04 02:51:54 +00:00
crocodoc_document_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
custom_data_spec.rb spec: once-ler spec/models/{b,c}* 2014-07-01 16:19:44 +00:00
delayed_message_spec.rb fix duplicate notification policies 2014-08-19 16:59:42 +00:00
delayed_notification_spec.rb don't use update_without_callbacks cause it's gone in rails 3 2014-02-20 22:17:56 +00:00
developer_key_spec.rb spec: fix sharding it_should_behave_like for rspec 2 2013-04-01 15:26:44 +00:00
discussion_entry_spec.rb permissions are not caching correctly due to returns 2014-07-02 19:34:22 +00:00
discussion_topic_participant_spec.rb spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
discussion_topic_spec.rb DA - discussions 2014-08-28 22:18:26 +00:00
enrollment_spec.rb let account users with :read_roster rights view enrollments 2014-08-15 12:57:56 +00:00
enrollment_term_spec.rb spec: stub test translations 2014-08-01 23:42:26 +00:00
eportfolio_category_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
eportfolio_entry_spec.rb spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
eportfolio_spec.rb ensure there is a default eportfolio page 2014-08-14 23:15:09 +00:00
error_report_spec.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
external_feed_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
feature_flag_spec.rb spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
folder_spec.rb fix infinite parent folder loop 2014-08-19 16:47:25 +00:00
general_model_spec.rb spec: ignore temp AR classes 2013-06-27 15:28:53 +00:00
google_doc_entry.rb support for lazy loading google docs (backend) 2013-02-20 15:30:59 -07:00
google_docs_collaboration_spec.rb Move google_docs code into a gem 2014-04-25 21:50:43 +00:00
grading_standard_spec.rb corrected rounding error when creating custom grade scheme 2014-08-28 17:40:41 +00:00
group_category_spec.rb spec: speed up more slow model specs 2014-07-31 16:48:28 +00:00
group_leadership_spec.rb spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
group_membership_spec.rb spec: once-ler spec/models/[d-g]* 2014-07-02 00:03:24 +00:00
group_spec.rb don't delete memberships when group is deleted 2014-09-04 00:59:06 +00:00
inbox_item_spec.rb remove 1.9 hash from inbox_item_spec. 2013-02-22 14:44:11 -07:00
kaltura_media_file_handler_spec.rb spec: properly skip kaltura sharding specs 2014-08-20 16:23:22 +00:00
learning_outcome_group_spec.rb spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
learning_outcome_result_spec.rb spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
learning_outcome_spec.rb permissions are not caching correctly due to returns 2014-07-02 19:34:22 +00:00
mailer_spec.rb don't send "Some Name <>" reply-to header for SMS 2014-08-13 18:35:49 +00:00
media_object_spec.rb refactor: sprout a class for kaltura bulk uploading 2014-08-19 15:38:42 +00:00
media_source_fetcher_spec.rb Prefer mp3 for audio comments in api_user_content 2014-04-30 20:00:13 +00:00
message_spec.rb use absolute url for avatar in notifications 2014-07-18 14:18:25 +00:00
notification_policy_spec.rb fix duplicate notification policies 2014-08-19 16:59:42 +00:00
notification_spec.rb spec: once-ler spec/models/[i-q]* 2014-07-02 15:57:40 +00:00
observer_enrollment_spec.rb fix page error if observed is not an active student 2012-03-09 10:46:56 -07:00
page_view_spec.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
plugin_setting_spec.rb spec: rails3 models/plugin_settings_spec 2014-02-07 21:20:57 +00:00
polymorphic_type_override_spec.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
profile_spec.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
progress_spec.rb don't use update_without_callbacks cause it's gone in rails 3 2014-02-20 22:17:56 +00:00
pseudonym_spec.rb spec: once-ler, now with sharding support 2014-07-14 16:09:27 +00:00
role_override_spec.rb fix permission inheritance 2014-08-02 01:28:49 +00:00
role_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
rubric_assessment_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
rubric_association_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
rubric_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
sharded_bookmarked_collection_spec.rb extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
sis_batch_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
stream_item_instance_spec.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
stream_item_spec.rb stop stream items from unlinking discussion subentries 2014-08-01 20:11:42 +00:00
student_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
student_view_enrollment_spec.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
submission_comment_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
submission_spec.rb DA - grading rework for performance 2014-08-26 22:46:14 +00:00
submission_version_spec.rb make submission version datafixup ignore yaml errors 2013-10-11 19:51:29 +00:00
ta_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
teacher_enrollment_spec.rb Initial commit. 2011-01-31 18:57:29 -07:00
user_observer_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
user_profile_spec.rb include root_account in section_tabs cache key 2012-08-17 14:15:10 -06:00
user_service_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
user_spec.rb don't delete memberships when group is deleted 2014-09-04 00:59:06 +00:00
web_conference_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
web_conference_spec_helper.rb add back-end recording to big blue button conferences 2013-05-28 16:20:30 +00:00
wiki_page_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
wiki_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
wimba_conference_spec.rb spec: once-ler spec/models/[r-w]* 2014-07-14 19:39:17 +00:00
zip_file_import_spec.rb delay creating jobs in other dbs until transaction completes 2013-06-17 20:19:08 +00:00