When you call factory:
Factory(:new_site, :site_num => ‘111’)
does that create a new new_site object, passing the hash as an
additional property to that object:
#factories.rb
Factory.define :new_site, :parent => :site do |f|
f.site_enabled true
end
Is this how it works?
Thanks for response.