Dry up your test factories
Do you use FactoryGirl? Have you heard about traits? If not, then this post is for you!
Traits can be quite handy to dry up your factories. They basically group properties so you can use them on your factories and they’re a great way to avoid duplications.