Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions spec/requests/profile/get_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ def json_me_get
describe 'totally expanded' do
let(:expansion) do
OpenStruct.new(
api_keys: false,
applications: true,
custom_data: true,
directory: true,
group_memberships: true,
groups: true,
provider_data: true,
tenant: true
api_keys: false,
applications: true,
custom_data: true,
directory: true,
group_memberships: true,
groups: true,
provider_data: true,
tenant: true
)
end

Expand Down
5 changes: 3 additions & 2 deletions spec/support/api/schemas/profile_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
"items": {
"anyOf": [
{ "type": "object",
"required": ["href", "createdAt", "modifiedAt", "name", "description", "status"],
"required": ["href", "createdAt", "modifiedAt", "name", "description", "status", "authorizedCallbackUris"],
"properties": {
"href": { "type": "string" },
"createdAt": { "type": ["string", "null"] },
"modifiedAt": { "type": ["string", "null"] },
"name": { "type": "string" },
"description": { "type": "string" },
"status": { "type": "string" }
"status": { "type": "string" },
"authorizedCallbackUris": { "type": "array" }
}
}
]
Expand Down