impress/test/factories/zone.rb

6 lines
105 B
Ruby

Factory.define :zone do |z|
z.label 'foo'
z.depth 1
z.add_attribute :type, 'FOO'
z.type_id 1
end