Project Awesome project awesome

factory_bot

Factorybot is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, adminuser, and so on), including factory inheritance.

Package GitHub
Back to Gems