lib/physical/spec_support/factories/package_factory.rb in physical-0.3.3 vs lib/physical/spec_support/factories/package_factory.rb in physical-0.4.0
- old
+ new
@@ -6,9 +6,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 { Measured::Weight(0.01, :g) }
+ void_fill_density { Measured::Density(0.01, :g_ml) }
initialize_with { new(attributes) }
end
end