lib/physical/spec_support/factories/location_factory.rb in physical-0.4.4 vs lib/physical/spec_support/factories/location_factory.rb in physical-0.4.5

- old
+ new

@@ -10,12 +10,12 @@ name { 'Jane Doe' } company_name { 'Company' } address1 { '11 Lovely Street' } address2 { 'South' } city { 'Herndon' } - sequence(:zip, 10001) { |i| i.to_s } + sequence(:zip, 10_001, &:to_s) phone { '555-555-0199' } region { country.subregions.coded(region_code) } country { Carmen::Country.coded(country_code) } - initialize_with { new(attributes) } + initialize_with { new(**attributes) } end end