Enable LTI2 placement for Assignment Configuration

Fixes: PLAT-1964

Test Plan:
- Install the LTI 2 test tool in a course
- During registration select the "Assignment Configuration"
  placement.
- Create a new assignment with submission type online
  with file uploads.
- Verify the LTI 2 test tool appears in the list of
  Plagiarism Review tools.
- Select the tool from this list and verify it launches

Change-Id: Ibebe916fb7209c1fe61608610bb85f541e43bccf
Reviewed-on: https://gerrit.instructure.com/95392
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
This commit is contained in:
wdransfield 2016-11-16 11:37:37 -07:00 committed by Weston Dransfield
parent a28726065e
commit 154cc7e35d
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,7 @@ module Lti
Canvas.placements.assignmentSelection Canvas.placements.assignmentSelection
Canvas.placements.linkSelection Canvas.placements.linkSelection
Canvas.placements.postGrades Canvas.placements.postGrades
Canvas.placements.assignmentConfiguration
User.username User.username
Person.email.primary Person.email.primary
Person.name.given Person.name.given

View File

@ -96,6 +96,11 @@ module Lti
expect(subject.create.capability_offered).to include 'Canvas.placements.courseNavigation' expect(subject.create.capability_offered).to include 'Canvas.placements.courseNavigation'
end end
it 'adds the Canvas.placements.assignmentConfiguration capability' do
expect(subject.create.capability_offered).to include 'Canvas.placements.assignmentConfiguration'
end
it 'adds the ToolConsumerProfile.url capability' do it 'adds the ToolConsumerProfile.url capability' do
expect(subject.create.capability_offered).to include 'ToolConsumerProfile.url' expect(subject.create.capability_offered).to include 'ToolConsumerProfile.url'
end end