spec/apps/dummy/app/models/mock_user.rb in scimitar-1.5.0 vs spec/apps/dummy/app/models/mock_user.rb in scimitar-1.5.2
- old
+ new
@@ -11,10 +11,12 @@
first_name
last_name
work_email_address
home_email_address
work_phone_number
+ organization
+ department
}
has_and_belongs_to_many :mock_groups
# A fixed value read-only attribute, in essence.
@@ -80,10 +82,16 @@
value: :id,
display: :display_name
}
}
],
- active: :is_active
+ active: :is_active,
+
+ # Custom extension schema - see configuration in
+ # "spec/apps/dummy/config/initializers/scimitar.rb".
+ #
+ organization: :organization,
+ department: :department
}
end
def self.scim_mutable_attributes
return nil