lib/physical/spec_support/factories/location_factory.rb in physical-0.4.9 vs lib/physical/spec_support/factories/location_factory.rb in physical-0.5.0
- old
+ new
@@ -2,18 +2,18 @@
FactoryBot.define do
factory :physical_location, class: 'Physical::Location' do
transient do
country_code { 'US' }
- region_code { 'IL' }
+ region_code { 'VA' }
end
name { 'Jane Doe' }
company_name { 'Company' }
address1 { '11 Lovely Street' }
- address2 { 'South' }
+ address2 { 'Suite 100' }
city { 'Herndon' }
- sequence(:zip, 10_001, &:to_s)
+ zip { '20170' }
phone { '555-555-0199' }
email { 'jane@company.com' }
region { country.subregions.coded(region_code) }
country { Carmen::Country.coded(country_code) }
initialize_with { new(**attributes) }