Sha256: d1875222752e5910a2562794f992a20b96402b31b040815a60f5a83c76bbc29f

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

Factory.define :ziplocation do |z|
  z.city    'some string'
  z.state   'some string'
end

Factory.define :id_gen do |i|
  i.gen_value 7
end

Factory.define :category do |c|
  c.name        'some string'
  c.description 'some string'
end

Factory.define :tag do |t|
  t.tag      'some string'
  t.refcount 7
end

Factory.define :sellercontactinfo do |s|
  s.lastname      'some string'
  s.firstname     'some string'
  s.email         'some string'
end

Factory.define :product do |p|
  p.categoryid  'some string'
  p.name        'some string'
  p.description 'some string'
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 :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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
legacy_data-0.1.11 examples/generated/j2ee_petstore_oracle/factories.rb
legacy_data-0.1.10 examples/generated/j2ee_petstore_oracle/factories.rb
legacy_data-0.1.9 examples/generated/j2ee_petstore_oracle/factories.rb