Sha256: 4fc042cf4e47c70938b5dd8dea5265c7000176d843724e4ab370b453fa2127e7
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
shared_context 'Canada stock location' do let(:ontario) do create(:state_with_autodiscover, country_iso: 'CA', state_code: 'ON') end let!(:stock_location) do create( :stock_location, name: 'Canda Warehouse', address1: '123 Test Street', city: 'Ottawa', zipcode: 'K1P1J1', state: ontario, country: ontario.country ) end end shared_context 'US stock location' do let!(:stock_location) do create :stock_location, address1: '1600 Pennsylvania Ave NW', city: 'Washington', zipcode: '20500', state: create(:state_with_autodiscover, state_code: 'DC') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_active_shipping-1.0.0 | spec/support/shared_contexts/stock_location_setup.rb |