In order for people to use FactoryGirl more DRYly, the line config.include FactoryGirl::Syntax::Methods should be included by default in spec/spec_helper.rb
This enables me to do things like
create(:todo, description: 'buy some milk')
instead of having to do
FactoryGirl.create(:todo, description: 'buy some milk')
If you do not include FactoryGirl::Syntax::Methods in your test suite, then all factory_girl methods will need to be prefaced with FactoryGirl. Having to repeat FactoryGirl over and over again is not DRY.
In order for people to use FactoryGirl more DRYly, the line
config.include FactoryGirl::Syntax::Methods
should be included by default inspec/spec_helper.rb
This enables me to do things like
create(:todo, description: 'buy some milk')
instead of having to do
FactoryGirl.create(:todo, description: 'buy some milk')
If you do not include FactoryGirl::Syntax::Methods in your test suite, then all factory_girl methods will need to be prefaced with FactoryGirl. Having to repeat FactoryGirl over and over again is not DRY.