Today I Learned

hashrocket A Hashrocket project

Lint Your Factories with FactoryBot.lint

Today I learned you can lint your Factories with FactoryBot.lint. This will run through all your factories, and list any that failed to create. You can also include traits in the listing with FactoryBot.lint traits: true. Useful for ensuring your factories remain valid.

Docs

See More #testing TILs