Open jweakley opened 9 years ago
All new projects should have this setup. Previous projects that were using it_behaves_like 'a testable object' do should be removed and swapped to this linting. Per documentation: http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md#Linting_Factories
it_behaves_like 'a testable object' do
We could also add this to our generator to have it make this on new projects by default.
All new projects should have this setup. Previous projects that were using
it_behaves_like 'a testable object' do
should be removed and swapped to this linting. Per documentation: http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md#Linting_Factories