thoughtbot/factory_girl — pull request #609 by joshuaclayton (2014-02-07 15:11:10+00:00)
Title: Add FactoryGirl.lint to ensure all factories are valid

This commit adds FactoryGirl.lint, which iterates over each defined factory,
builds it, and ensures it is valid. If any factories are invalid, an exception
is raised and includes the names of each invalid factory.