Sha256: 20df4d72b2e385d1b5ebcfa5fa0bf4bcdf639efe45c3a9c92fffa63bb2bd11fb

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

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 '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.5 lib/rspec/models/unidom/party/company_spec.rb