Sha256: 4c8af6d832b2829d10a171281fcfc83ae0a1e76c5cfdf67a7f3338309662aff4
Contents?: true
Size: 693 Bytes
Versions: 1
Compression:
Stored size: 693 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::Company, type: :model do before :each do end after :each do end context do model_attributes = { name: 'Tesla' } 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/company_spec.rb |