Sha256: 8f02ba9a31c1adc196abe9e4504dba358718255e6613f35bdcf4b38debccff23
Contents?: true
Size: 346 Bytes
Versions: 30
Compression:
Stored size: 346 Bytes
Contents
Factory.define :form, :class => Noodall::Form do |form| form.title "A Form" form.email "hello@wearebeef.co.uk" form.fields do fields = [Factory(:text_field, :name => 'Name', :required => true), Factory(:text_field, :name => 'Email', :required => true)] 5.times do fields << Factory(:text_field) end fields end end
Version data entries
30 entries across 30 versions & 1 rubygems