Sha256: 62af6bd1d477b4c28db27c93b730a1da6e48cfd8b64cabc5a49cebb9a09cc0f0
Contents?: true
Size: 690 Bytes
Versions: 1
Compression:
Stored size: 690 Bytes
Contents
require 'rspec/models/unidom/party/concerns/as_source_party_shared_examples' require 'rspec/models/unidom/party/concerns/as_target_party_shared_examples' describe Unidom::Party::Person, type: :model do before :each do end after :each do end context do model_attributes = { name: 'Tim' } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes it_behaves_like 'Unidom::Party::Concerns::AsSourceParty', model_attributes it_behaves_like 'Unidom::Party::Concerns::AsTargetParty', model_attributes it_behaves_like 'validates text', model_attributes, :name, length: 2..described_class.columns_hash['name'].limit end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-party-1.9.6 | lib/rspec/models/unidom/party/person_spec.rb |