README.md in unidom-action-1.17.9 vs README.md in unidom-action-1.17.10

- old
+ new

@@ -263,38 +263,60 @@ include Unidom::Common::Concerns::ModelExtension include Unidom::Action::Concerns::AsCaused end +# app/models/your_obsolesced.rb +class YourObsolesced < ApplicationRecord + + include Unidom::Common::Concerns::ModelExtension + include Unidom::Action::Concerns::AsObsolesced + +end + # spec/support/unidom_rspec_shared_examples.rb require 'unidom/action/rspec_shared_examples' # spec/models/your_acted_spec.rb describe YourActed, type: :model do model_attribtues = { + your_attribute: 'your value' } it_behaves_like 'Unidom::Action::Concerns::AsActed', model_attribtues end # spec/models/your_actor_party_spec.rb describe YourActorParty, type: :model do model_attribtues = { + your_attribute: 'your value' } it_behaves_like 'Unidom::Action::Concerns::AsActorParty', model_attribtues end # spec/models/your_caused_spec.rb describe YourCaused, type: :model do model_attribtues = { + your_attribute: 'your value' } it_behaves_like 'Unidom::Action::Concerns::AsCaused', model_attribtues + +end + +# spec/models/your_obsolesced_spec.rb +describe YourObsolesced, type: :model do + + model_attribtues = { + your_attribute: 'your value' + } + + it_behaves_like 'Unidom::Action::Concerns::AsObsolesced', model_attribtues end ```