Sha256: ee1e9822536c7bcd6f3d48141465b9167b031f22504976e890930a881e6ff1dc
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
Factory.define :address do |a| a.street1 'some string' a.city 'some string' a.state 'some string' a.zip 'some string' a.latitude 12.3 a.longitude 12.3 end Factory.define :category do |c| c.name 'some string' c.description 'some string' end Factory.define :id_gen do |i| i.gen_value 7 end Factory.define :item do |i| i.productid 'some string' i.name 'some string' i.description 'some string' i.price 12.3 i.address_addressid 'some string' i.contactinfo_contactinfoid 'some string' i.totalscore 7 i.numberofvotes 7 i.disabled 7 end Factory.define :product do |p| p.categoryid 'some string' p.name 'some string' p.description 'some string' end Factory.define :sellercontactinfo do |s| s.lastname 'some string' s.firstname 'some string' s.email 'some string' end Factory.define :tag do |t| t.tag 'some string' t.refcount 7 end Factory.define :ziplocation do |z| z.city 'some string' z.state 'some string' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
legacy_data-0.1.12 | examples/generated/j2ee_petstore_oracle/factories.rb |