Sha256: 7929ece40c06d5755dad928d47bc8d2638e171b7376f78bb504e6b41f0628fc1
Contents?: true
Size: 458 Bytes
Versions: 7
Compression:
Stored size: 458 Bytes
Contents
# 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) } packages { build_list(:physical_package, 2) } service_code { "usps_priority_mail" } initialize_with { new(attributes) } end end
Version data entries
7 entries across 7 versions & 1 rubygems