lib/physical/spec_support/factories/shipment_factory.rb in physical-0.3.1 vs lib/physical/spec_support/factories/shipment_factory.rb in physical-0.3.2
- old
+ new
@@ -1,7 +1,9 @@
# frozen_string_literal: true
require 'factory_bot'
+require_relative 'location_factory'
+require_relative 'package_factory'
FactoryBot.define do
factory :physical_shipment, class: "Physical::Shipment" do
origin { FactoryBot.build(:physical_location) }
destination { FactoryBot.build(:physical_location) }