Lint factories creation in addition to their build
We currently only lint our factories' :build
method, we should also ensure they can be :create
d.
Original description:
FactoryGirl provides a FactoryGirl.lint
method, we should use it in the static-analysis
job.
Reference: http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md#Linting_Factories
Edited by Rémy Coutable