canvas-lms/spec/apis
Amber Taniuchi ffed72a3fb add grouped parameter to SubmissionApiController#index
If an assignment is marked to be graded as a group,
speedgrader will group the assignments accordingly, but
in the API, submissions were being returned individually
rather than being grouped. This adds a check for a 'grouped'
param in the SubmissionApiController#index action so that
a single assignment/submission object is returned
per student group.

fixes CNVS-23203

Test Plan:
1. Have a course with a few students enrolled
2. Create user groups and put at least two students
in one group.
3. Create an assignment set to be graded as a group
4. Have a student from one of the groups submit
to the assignment on behalf of the group.
5. With a teacher or admin token, ping the
Submissions list API with params grouped = true
Verify just a single assignment object is returned

Change-Id: I3465b469533d6cff6b3b7c679d8868ceef3dee17
Reviewed-on: https://gerrit.instructure.com/65312
Reviewed-by: Spencer Olson <solson@instructure.com>
Tested-by: Jenkins
Product-Review: Spencer Olson <solson@instructure.com>
QA-Review: Jason Carter <jcarter@instructure.com>
2015-11-04 20:52:42 +00:00
..
html gracefully handle latex parse errors 2015-07-18 18:47:34 +00:00
lti Allow LTI tools to submit scores for 0 point assignments 2015-09-25 21:29:59 +00:00
swagger rspec 3-ify spec/apis 2014-10-15 15:49:55 +00:00
v1 add grouped parameter to SubmissionApiController#index 2015-11-04 20:52:42 +00:00
api_spec_helper.rb add provisional grades to submissions api 2015-09-03 17:39:02 +00:00
auth_spec.rb observers using the api can see observees grades 2015-10-15 23:09:02 +00:00
error_handling_spec.rb rspec 3-ify spec/apis 2014-10-15 15:49:55 +00:00
file_uploads_spec_helper.rb add api endpoint for modified_by in files 2015-06-03 17:12:38 +00:00
general_api_spec.rb rails4: various api spec fixes 2015-07-21 15:44:32 +00:00
locked_spec.rb fix Lint/StringConversionInInterpolation issue 2015-04-27 20:53:25 +00:00
user_content_spec.rb preload attachments in calendar events public feed 2015-09-21 14:22:26 +00:00