lib/physical/spec_support/factories/package_factory.rb in physical-0.1.4 vs lib/physical/spec_support/factories/package_factory.rb in physical-0.2.0

- old
+ new

@@ -4,9 +4,9 @@ FactoryBot.define do factory :physical_package, class: "Physical::Package" do container { FactoryBot.build(:physical_box) } items { build_list(:physical_item, 2) } - void_fill_density { 0.01 } + void_fill_density { Measured::Weight(0.01, :g) } initialize_with { new(attributes) } end end