Hey, While paring on some tests today with Tim McEwan I made the point that it's a good idea to have a set of default factories/blueprints that only return objects with the minimum attributes needed to pass validation.
Tim then suggested that it might be a good idea to have factory_girl or machinist define a default set of factories/blueprints that are built based on the validations set in your models. I figured this could be done using model validation reflection. Anyone know if there are any gems that implements this type of behaviour? If not does this sound like the type of thing that might be worth building? -- Scott Harvey -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
