factory_bot and factory_bot_rails release candidates were released this week thanks to Joe and Josh. The big change is some great-looking new syntax. Check it out: Old: Factory.sequence :email do |n| "email#{n}@example.com" end Factory.define :user do |factory| factory.name { 'Ron Burgundy' } factory.email { Factory.next(:email) } end Factory.define :admin, parent: :user do |factory| factory.admin
{{#tags}}- {{label}}
{{/tags}}