lib/rspec/models/unidom/geo/location_spec.rb in unidom-geo-1.5.5 vs lib/rspec/models/unidom/geo/location_spec.rb in unidom-geo-1.5.6

- old
+ new

@@ -34,11 +34,13 @@ it_behaves_like 'validates numericality', model_attributes, :minimum_longitude, range: -180..180, minimum_inclusive: true, maximum_inclusive: true, allow_blank: false it_behaves_like 'validates numericality', model_attributes, :maximum_longitude, range: -180..180, minimum_inclusive: true, maximum_inclusive: true, allow_blank: false - it_behaves_like 'validates text', model_attributes, :postal_address, length: 2..described_class.columns_hash['postal_address'].limit - it_behaves_like 'validates text', model_attributes, :postal_code, length: 3..described_class.columns_hash['postal_code'].limit + it_behaves_like 'validates text', model_attributes, :postal_address, + length: 2..described_class.columns_hash['postal_address'].limit + it_behaves_like 'validates text', model_attributes, :postal_code, + length: 3..described_class.columns_hash['postal_code'].limit locating_1_attributes = { located_id: SecureRandom.uuid, located_type: 'Unidom::Geo::Located::Mock', locator_id: SecureRandom.uuid,