Find_or_Factory
Ever wish you could do find_or_create with the factories from FactoryGirl? I just wrote a method that lets you do something very similar: Find or Factory Method for Tests.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Ever wish you could do find_or_create with the factories from FactoryGirl? I just wrote a method that lets you do something very similar: Find or Factory Method for Tests.
Post a comment