Sha256: 37424ac9a225a1b87e7191cafd9cd11d55005c885777e666bf703481c656348f
Contents?: true
Size: 827 Bytes
Versions: 1
Compression:
Stored size: 827 Bytes
Contents
describe Unidom::Action::StateTransition, type: :model do before :each do end after :each do end context do model_attributes = { transitor_visitor_id: SecureRandom.uuid, transitor_visitor_type: 'Unidom::Action::TransitorVisitor::Mock', transitor_party_id: SecureRandom.uuid, transitor_party_type: 'Unidom::Action::TransitorParty::Mock', subject_id: SecureRandom.uuid, subject_type: 'Unidom::Action::Subject::Mock', reason_id: SecureRandom.uuid, from_state: 'C', thru_state: 'A' } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes it_behaves_like 'belongs_to', model_attributes, :reason, Unidom::Action::Reason, { name: 'Some Reason' } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-action-1.17.2 | lib/rspec/models/unidom/action/state_transition_spec.rb |