spec/support/factory_bot.rb (4 lines of code) (raw):

require 'factory_bot' RSpec.configure do |config| config.include FactoryBot::Syntax::Methods end