Sha256: 4cc4c103bb20ebd13a8069a2fdd8909453a4d796cb8bcf651eef1a341d66f675

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

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 '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/person_spec.rb