2010-05-14 15:33:56 -07:00
|
|
|
Factory.define :item do |i|
|
|
|
|
i.name 'Test Item'
|
2010-05-16 12:01:38 -07:00
|
|
|
i.description 'Test Description'
|
|
|
|
i.thumbnail_url 'http://images.neopets.com/foo.gif'
|
|
|
|
i.zones_restrict ''
|
|
|
|
i.category ''
|
|
|
|
i.add_attribute :type, ''
|
|
|
|
i.rarity 0
|
|
|
|
i.rarity_index 0
|
|
|
|
i.price 0
|
|
|
|
i.weight_lbs 0
|
|
|
|
i.species_support_ids ''
|
|
|
|
i.sold_in_mall false
|
|
|
|
i.last_spidered 0
|
2010-05-14 15:33:56 -07:00
|
|
|
end
|