Sha256: b463b503eb2bcc0a142359016c95d9808c13c9037ac5f4a2e2a38c1bcd792bdd

Contents?: true

Size: 177 Bytes

Versions: 25

Compression:

Stored size: 177 Bytes

Contents

FactoryGirl.define do
  factory :stocked_product do
    product
    retailer
    store_location
    stocked { (0..50).to_a.sample }
    cost { Faker::Commerce.price }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
activerecord-collections-0.0.26 spec/factories/stocked_products.rb
activerecord-collections-0.0.25 spec/factories/stocked_products.rb
activerecord-collections-0.0.24 spec/factories/stocked_products.rb
activerecord-collections-0.0.23 spec/factories/stocked_products.rb
activerecord-collections-0.0.22 spec/factories/stocked_products.rb
activerecord-collections-0.0.21 spec/factories/stocked_products.rb
activerecord-collections-0.0.20 spec/factories/stocked_products.rb
activerecord-collections-0.0.19 spec/factories/stocked_products.rb
activerecord-collections-0.0.18 spec/factories/stocked_products.rb
activerecord-collections-0.0.17 spec/factories/stocked_products.rb
activerecord-collections-0.0.16 spec/factories/stocked_products.rb
activerecord-collections-0.0.15 spec/factories/stocked_products.rb
activerecord-collections-0.0.14 spec/factories/stocked_products.rb
activerecord-collections-0.0.13 spec/factories/stocked_products.rb
activerecord-collections-0.0.12 spec/factories/stocked_products.rb
activerecord-collections-0.0.11 spec/factories/stocked_products.rb
activerecord-collections-0.0.10 spec/factories/stocked_products.rb
activerecord-collections-0.0.9 spec/factories/stocked_products.rb
activerecord-collections-0.0.8 spec/factories/stocked_products.rb
activerecord-collections-0.0.7 spec/factories/stocked_products.rb