README.md in unidom-action-1.17.11 vs README.md in unidom-action-1.17.12
- old
+ new
@@ -279,10 +279,18 @@
include Unidom::Common::Concerns::ModelExtension
include Unidom::Action::Concerns::AsObsolescerParty
end
+# app/models/your_searcher_party.rb
+class YourSearcherParty < ApplicationRecord
+
+ include Unidom::Common::Concerns::ModelExtension
+ include Unidom::Action::Concerns::AsSearcherParty
+
+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
@@ -334,8 +342,19 @@
model_attribtues = {
your_attribute: 'your value'
}
it_behaves_like 'Unidom::Action::Concerns::AsObsolescerParty', model_attribtues
+
+end
+
+# spec/models/your_searcher_party_spec.rb
+describe YourSearcherParty, type: :model do
+
+ model_attribtues = {
+ your_attribute: 'your value'
+ }
+
+ it_behaves_like 'Unidom::Action::Concerns::AsSearcherParty', model_attribtues
end
```