Sha256: 9c9aea2ea063b378d3c926255c9ed903d42ab966788568a8009411c05af45e7e
Contents?: true
Size: 270 Bytes
Versions: 2
Compression:
Stored size: 270 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :physical_structure, class: "Physical::Structure" do container { FactoryBot.build(:physical_pallet) } packages { build_list(:physical_package, 2) } initialize_with { new(**attributes) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
physical-0.5.1 | lib/physical/spec_support/factories/structure_factory.rb |
physical-0.5.0 | lib/physical/spec_support/factories/structure_factory.rb |