Sha256: 340133d3252e4ef449b615e57137d0710418c8cdfa50d51a797acd9826b12388

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

FactoryGirl.define do
  factory :product_package, class: Spree::ProductPackage do
    length { SecureRandom.random_number(19) + 1 }
    width { SecureRandom.random_number(19) + 1 }
    height { SecureRandom.random_number(19) + 1 }
    weight { SecureRandom.random_number(19) + 1 }
    product
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_active_shipping-1.0.0 spec/factories/product_package_factory.rb