Skip to content

Instantly share code, notes, and snippets.

@alterisian
Last active December 19, 2015 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alterisian/5880195 to your computer and use it in GitHub Desktop.
Save alterisian/5880195 to your computer and use it in GitHub Desktop.
List all of the factories (idea being to hook it up with a comparison of all the models). Removes the sub factories.
FactoryGirl.factories.each{ |fac| puts fac.name.capitalize unless fac.name.to_s.include? "_" };nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment