lib/physical/spec_support/factories/shipment_factory.rb in physical-0.1.0 vs lib/physical/spec_support/factories/shipment_factory.rb in physical-0.1.1
- old
+ new
@@ -5,9 +5,9 @@
FactoryBot.define do
factory :physical_shipment, class: "Physical::Shipment" do
origin { FactoryBot.build(:physical_location) }
destination { FactoryBot.build(:physical_location) }
packages { build_list(:physical_package, 2) }
- shipping_method { "USPS Priority" }
+ service_code { "usps_priority_mail" }
initialize_with { new(attributes) }
end
end