canvas-lms/spec/models
Marc Alan Phillips bbd453ad75 Add scores endpoint
closes PLAT-3008

Test Plan:
 - Create a line item (both assignment and nonassignment)
 - Create a user
 - For the assignment lineitem, the submission should be
   updated when FullyGraded or PendingManual is passed
   with a score. This should show in the gradebook
 - The nonassignment lineitem should not update the
   submission even if there are scores. These
   should only be found in the console

Change-Id: Ie8b65b475f00f364fb78f1d5fe4c1cdd84548472
Reviewed-on: https://gerrit.instructure.com/139469
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Marc Alan Phillips <mphillips@instructure.com>
QA-Review: Marc Alan Phillips <mphillips@instructure.com>
2018-02-15 22:51:19 +00:00
..
account allow default help link text to be edited 2017-09-25 15:21:26 +00:00
account_authorization_config add requested attributes to SAML metadata 2018-01-15 17:44:06 +00:00
alerts spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
assignment Fix originailty report launches for group assignments 2017-12-20 19:52:57 +00:00
assignments spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
attachments spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
auditors spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
broadcast_policies bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
conditional_release spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
content_migration Add "Closed for comments" setting to topic migration 2018-02-13 21:07:43 +00:00
courses cache progression and item visibility data on courses 2017-08-24 16:46:26 +00:00
discussion_topic da licença part 48 2017-04-28 18:59:33 +00:00
enrollment spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
epub_exports spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
exporters da licença part 48 2017-04-28 18:59:33 +00:00
group_categories spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
importers Set Tool Setting assignment relationship on import/export 2018-01-19 21:05:21 +00:00
incoming_mail use notification_service in cases that bypass the Message model 2017-07-31 21:49:05 +00:00
live_assessments spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
lti Add scores endpoint 2018-02-15 22:51:19 +00:00
master_courses master courses: include account outcomes in selective export 2018-02-12 16:59:43 +00:00
messages protect against missing message context 2017-09-25 17:15:36 +00:00
moderated_grading spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
page_view spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
polling da licença part 48 2017-04-28 18:59:33 +00:00
quizzes add stranding for quiz regrade jobs 2018-02-15 22:15:04 +00:00
users spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
wiki_pages bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
access_token_spec.rb allow dev_keys to be created at a sub account 2018-01-30 16:46:18 +00:00
account_authorization_config_spec.rb add workflow_state to account_users 2017-08-01 18:31:37 +00:00
account_notification_spec.rb fix cross-sharded subaccount id fetch in global announcements 2018-02-01 14:57:22 +00:00
account_spec.rb update root outcome group name alongside context 2018-02-12 19:09:33 +00:00
account_user_spec.rb add workflow_state to account_users 2017-08-01 18:31:37 +00:00
active_record_base_spec.rb remove suspect specs 2018-02-01 03:49:29 +00:00
alert_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
announcement_spec.rb restrict section specific announcement show page 2018-01-08 20:06:15 +00:00
appointment_group_spec.rb fix deleting appointment group with appointments error 2018-01-23 01:05:36 +00:00
assessment_question_bank_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
assessment_question_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
assessment_request_spec.rb use current assignment name in rubric reminder notifications 2017-05-17 12:35:21 +00:00
asset_user_access_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
assignment_configuration_tool_lookup_spec.rb LTI User show endpoint 2017-09-28 15:41:12 +00:00
assignment_group_spec.rb delete scores when an assignment group is deleted 2018-01-04 20:33:02 +00:00
assignment_override_spec.rb Ignore inactive enrollments in overrides list for show page 2017-12-28 19:31:09 +00:00
assignment_override_student_spec.rb make ScoreMetadata soft deleteable 2018-02-09 19:33:48 +00:00
assignment_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
assignment_student_visibility_spec.rb Store dropped submissions from a calculation 2017-10-30 22:57:49 +00:00
attachment_spec.rb don't split multiple extensions when renaming duplicate files 2018-02-15 19:34:24 +00:00
big_blue_button_conference_spec.rb use https for bigbluebutton API 2017-07-14 20:33:56 +00:00
bookmark_service_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
bounce_notification_processor_spec.rb Run notification failure and bounce in all regions 2017-09-01 19:47:06 +00:00
brand_config_spec.rb Remove remaining dynamic brand css code 2017-10-03 22:49:11 +00:00
calendar_event_spec.rb Mostly revert "Enable viewing of CalendarEvents cross shard" 2017-11-28 20:34:43 +00:00
canvadoc_spec.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
cloned_item_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
collaboration_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
collaborator_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
communication_channel_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
content_export_spec.rb Quizzes Next Feature Flag support 2018-01-11 22:39:42 +00:00
content_migration_spec.rb ignore mac system folder when unzipping files 2017-11-30 14:18:40 +00:00
content_participation_count_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
content_participation_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
content_tag_spec.rb bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
context_external_tool_spec.rb Confirmation message when installing duplicate tool 2017-12-19 18:09:09 +00:00
context_module_progression_spec.rb recalculate graded unsubmitted progressions on unmute 2017-12-15 16:05:05 +00:00
context_module_spec.rb Add the ability to duplicate modules. 2017-11-03 15:52:43 +00:00
context_spec.rb deal with nameless things in Context#asset_name 2018-01-15 16:42:05 +00:00
conversation_batch_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
conversation_message_participant_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
conversation_message_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
conversation_participant_spec.rb reduce cache usage for conversation participants 2017-09-20 14:53:37 +00:00
conversation_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
course_date_range_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
course_progress_spec.rb cache progression and item visibility data on courses 2017-08-24 16:46:26 +00:00
course_section_spec.rb Create a table for section specific announcements. 2017-12-13 04:15:32 +00:00
course_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
crocodoc_document_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
custom_data_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
delayed_message_spec.rb rails 5.1: all the rest of the specs 2017-07-31 19:48:51 +00:00
delayed_notification_spec.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
developer_key_spec.rb allow dev_keys to be created at a sub account 2018-01-30 16:46:18 +00:00
discussion_entry_spec.rb don't tell students about discussions they can't see 2017-11-02 22:38:00 +00:00
discussion_topic_participant_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
discussion_topic_section_visibility_spec.rb Add scope to retrieve the topics belonging to a section. 2017-12-20 18:50:38 +00:00
discussion_topic_spec.rb Disallows graded or group section specific discussions 2018-02-13 23:57:16 +00:00
enrollment_spec.rb add ability for due_date_cacher to work on a single user 2018-02-09 21:32:26 +00:00
enrollment_state_spec.rb don't cache incorrect enrollment state in callbacks 2018-01-05 21:15:29 +00:00
enrollment_term_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
eportfolio_entry_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
eportfolio_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
epub_export_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
error_report_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
external_feed_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
external_integration_key_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
external_tool_collaboration_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
feature_flag_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
folder_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
google_docs_collaboration_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
gradebook_csv_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
gradebook_upload_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
grading_period_group_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
grading_period_permissions_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
grading_period_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
grading_standard_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
group_category_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
group_leadership_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
group_membership_spec.rb change delayed job behavior when grading period is updated 2018-02-12 23:25:59 +00:00
group_spec.rb Add root_account_id to group categories 2017-12-20 22:46:47 +00:00
kaltura_media_file_handler_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
late_policy_spec.rb re-apply late policy when assignment grading_type changes 2017-07-31 17:49:44 +00:00
learning_outcome_group_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
learning_outcome_result_spec.rb fix mastery for bank/outcome combo under specific conditions 2018-01-18 22:39:20 +00:00
learning_outcome_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
mailer_spec.rb use notification_service in cases that bypass the Message model 2017-07-31 21:49:05 +00:00
media_object_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
media_source_fetcher_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
message_spec.rb Responsive Email Design 2017-10-23 15:09:58 +00:00
notification_endpoint_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
notification_failure_processor_spec.rb Run notification failure and bounce in all regions 2017-09-01 19:47:06 +00:00
notification_finder_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
notification_policy_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
notification_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
notifier_spec.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
observer_enrollment_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
one_time_password_spec.rb MFA backup code support 2017-05-02 16:08:53 +00:00
originality_report_spec.rb Remove attachment dependancy for originality reports 2017-12-19 18:06:18 +00:00
page_view_spec.rb filter page views by accessible accounts 2017-11-08 18:22:38 +00:00
planner_note_spec.rb add note to self model 2017-05-22 16:33:13 +00:00
planner_override_spec.rb Change planner overrides controller to match planner items 2017-06-17 00:11:22 +00:00
plugin_setting_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
profile_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
progress_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
pseudonym_spec.rb remove all-but-unused code 2018-02-05 16:25:44 +00:00
quiz_student_visibility_spec.rb Store dropped submissions from a calculation 2017-10-30 22:57:49 +00:00
role_override_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
role_spec.rb rails 5.1: lib specs 2017-07-20 17:26:51 +00:00
rubric_assessment_spec.rb allow extra credit on criterion levels 2017-12-05 23:34:56 +00:00
rubric_association_spec.rb update the assessor on regrading/reassessing a rubric 2017-11-06 21:09:37 +00:00
rubric_spec.rb fix deleted rubrics maintaining assignment associations 2018-01-08 21:20:09 +00:00
score_metadata_spec.rb make ScoreMetadata soft deleteable 2018-02-09 19:33:48 +00:00
score_spec.rb make ScoreMetadata soft deleteable 2018-02-09 19:33:48 +00:00
settings_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
sharded_bookmarked_collection_spec.rb fix cross-database calendar queries 2017-11-28 20:31:54 +00:00
shared_brand_config_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
sis_batch_spec.rb upload zip file members from sis import 2018-02-07 04:21:33 +00:00
sis_pseudonym_spec.rb add sis_pseudonym_id to enrollment object 2018-01-04 00:58:37 +00:00
split_user_spec.rb fix fk error on user split 2017-10-02 19:51:30 +00:00
stream_item_instance_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
stream_item_spec.rb Revert "fix differentiated assignments discussion stream items" 2018-01-06 18:51:51 +00:00
student_enrollment_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
student_view_enrollment_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
submission_comment_interaction_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
submission_comment_spec.rb add edited_at to submission_comments 2017-09-29 14:54:03 +00:00
submission_spec.rb Add scores endpoint 2018-02-15 22:51:19 +00:00
submission_version_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
ta_enrollment_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
teacher_enrollment_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
terms_of_service_spec.rb fix terms of service alignment and wording 2017-11-03 20:23:42 +00:00
usage_rights_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
user_observer_spec.rb allow observers association to be preloaded 2018-02-06 16:14:26 +00:00
user_profile_spec.rb Allow user_navigation visibility control 2018-01-19 21:40:09 +00:00
user_service_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
user_spec.rb make navigation bar check for active groups before display 2018-02-06 16:54:41 +00:00
web_conference_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00
web_conference_spec_helper.rb da licença part 48 2017-04-28 18:59:33 +00:00
web_zip_export_spec.rb da licença part 48 2017-04-28 18:59:33 +00:00
wiki_page_spec.rb bypass the wiki model as much as possible for wiki_pages 2017-08-09 16:09:06 +00:00
wiki_spec.rb Make course home page go to modules if wiki home page unset. 2017-11-09 18:13:15 +00:00
wimba_conference_spec.rb spec: mocha => rspec-mocks for models 2017-07-27 16:38:19 +00:00