canvas-lms/spec/helpers
Josh Orr 3d6c097ab8 Add user avatars to observee's list return object
Modifies the GET /users/<user_id>/observees endpoint to include
the observee's avatar url if avatar service is enabled on the
observee's account.

Fixes MBL-4840

Test Plan:
Create Student user in student account
Create Parent user in parent account
Add Student as an observee of parent by token
Enable avatars on student account
Add avatar to student
Ensure that the list observees endpoint returns student avatar
Add second student with avatar
Repeat test to ensure that both have correct avatar

Change-Id: I0076bbb7d45447632eb4e553829886af69618dc2
Reviewed-on: https://gerrit.instructure.com/64248
Tested-by: Jenkins
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: Ben Kirato <benk@instructure.com>
Product-Review: Josh Orr <jgorr@instructure.com>
2015-10-22 16:52:43 +00:00
..
login refactor PseudonymSessionsController 2015-05-15 14:44:38 +00:00
messages update email notification for peer review to be anonymous 2015-09-14 21:19:20 +00:00
alignments_helper_spec.rb rails4: helper/initializer/presenter/misc spec fixes 2015-07-22 20:21:09 +00:00
application_helper_spec.rb fix css/js includes in when new_styles is turned on 2015-10-14 15:37:17 +00:00
assessment_request_helper_spec.rb Show anonymous user on peer reviews when setting enabled 2015-07-08 21:18:45 +00:00
assignments_helper_spec.rb show assignments to concluded teachers 2015-05-07 13:38:54 +00:00
attachment_helper_spec.rb rspec 3-ify spec/helpers 2014-10-13 23:11:54 +00:00
avatar_helper_spec.rb Add user avatars to observee's list return object 2015-10-22 16:52:43 +00:00
context_external_tools_helper_spec.rb DRY Up LTI Tool links 2015-09-29 17:46:22 +00:00
context_modules_helper_spec.rb preload "can_unpublish" values for modules 2015-07-15 22:08:06 +00:00
courses_helper_spec.rb don't show todo item from soft concluded courses 2015-05-14 21:50:12 +00:00
custom_color_helper_spec.rb Adds a calendar color picker to canvas 2015-05-08 22:13:34 +00:00
dashboard_helper_spec.rb rspec 3-ify spec/helpers 2014-10-13 23:11:54 +00:00
gradebooks_helper_spec.rb use anonymous grading feature flag in speed grader 2015-09-01 15:48:34 +00:00
quizzes_helper_spec.rb Fixes placeholder in essay question quiz grading 2015-08-24 22:30:32 +00:00
search_helper_spec.rb don't load all contexts for group recipient lookup 2015-03-05 18:38:42 +00:00
section_tab_helper_spec.rb makes section tabs accessible outside of render logic 2015-06-02 14:43:49 +00:00
stream_items_helper_spec.rb Show anonymous user on peer reviews when setting enabled 2015-07-08 21:18:45 +00:00