Depends on RSpec Generator
Installs factory_bot_rails
Allow you to use the short hand methods for creating or building factories
it 'tests something' do
created_user = create(:user)
built_user = build(:user)
end
Depends on RSpec Generator
Installs factory_bot_rails
Allow you to use the short hand methods for creating or building factories
it 'tests something' do
created_user = create(:user)
built_user = build(:user)
end