spec/metadata_spec.rb in activefacts-api-0.9.5 vs spec/metadata_spec.rb in activefacts-api-0.9.6
- old
+ new
@@ -13,10 +13,11 @@
end
ObjectType_methods = [
:has_one, :maybe, :one_to_one,
:roles, :subtypes, :supertypes, :vocabulary,
+ :all_roles,
# To make private:
:check_identifying_role_has_valid_cardinality, :realise_role, :supertypes_transitive,
]
ValueType_methods = [
@@ -25,10 +26,10 @@
]
Instance_methods = [
:constellation, :retract, :is_a?,
# To remove or move to EntityType
- :related_entities, :check_value_change_legality,
+ :related_entities, :check_identification_change_legality,
:instance_index
]
Value_methods = Instance_methods + [
:verbalise, :identifying_role_values
]