lib/rspec/models/unidom/position/occupation_spec.rb in unidom-position-1.5.5 vs lib/rspec/models/unidom/position/occupation_spec.rb in unidom-position-1.5.6
- old
+ new
@@ -15,10 +15,11 @@
name: 'Some Occupation'
}
it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes
- it_behaves_like 'validates text', model_attributes, :name, length: 2..described_class.columns_hash['name'].limit
+ it_behaves_like 'validates text', model_attributes, :name,
+ length: 2..described_class.columns_hash['name'].limit
position_1_attributes = {
organization_id: SecureRandom.uuid,
organization_type: 'Unidom::Position::Organization::Mock',
name: 'Some Position #1'