Sha256: 154c3fd3709be9e8be202fe5da5088d6bbce1da696e45364e0d143b9bd004e6d
Contents?: true
Size: 820 Bytes
Versions: 5
Compression:
Stored size: 820 Bytes
Contents
shared_examples 'Unidom::Action::Concerns::AsActed' do |model_attributes| context do acting_1_attributes = { actor_visitor_id: SecureRandom.uuid, actor_visitor_type: 'Unidom::Action::ActorVisitor::Mock', actor_party_id: SecureRandom.uuid, actor_party_type: 'Unidom::Action::ActorParty::Mock', reason_id: SecureRandom.uuid } acting_2_attributes = { actor_visitor_id: SecureRandom.uuid, actor_visitor_type: 'Unidom::Action::ActorVisitor::Mock', actor_party_id: SecureRandom.uuid, actor_party_type: 'Unidom::Action::ActorParty::Mock', reason_id: SecureRandom.uuid } it_behaves_like 'has_many', model_attributes, :actings, Unidom::Action::Acting, [ acting_1_attributes, acting_2_attributes ] end end
Version data entries
5 entries across 5 versions & 1 rubygems