Sha256: 577f632c3eddc669fdd9b3590b940836406fce0c5495cb5ce553919327bac642
Contents?: true
Size: 227 Bytes
Versions: 29
Compression:
Stored size: 227 Bytes
Contents
Factory.define(:line_item) do |record| record.quantity 1 record.price { BigDecimal.new("10.00") } # associations: record.association(:order, :factory => :order) record.association(:variant, :factory => :variant) end
Version data entries
29 entries across 29 versions & 6 rubygems