Sha256: 31da6b97759f87bee9e7e5d829db4a7b965aa0368b7ab381440ac83135fa7e43
Contents?: true
Size: 454 Bytes
Versions: 9
Compression:
Stored size: 454 Bytes
Contents
Factory.define(:checkout) do |record| record.email { Faker::Internet.email } record.special_instructions { Faker::Lorem.paragraphs(rand(5)+1).join("\n") } # associations: record.association(:order, :factory => :order_with_totals) record.association(:bill_address, :factory => :address) record.association(:shipping_method) end ###### ADD YOUR CODE BELOW THIS LINE ##### Factory.define :incomplete_checkout, :parent => :checkout do |f| end
Version data entries
9 entries across 9 versions & 1 rubygems