rex/spec/support/factory_bot.rb

12 lines
197 B
Ruby

# frozen_string_literal: true
require "factory_bot"
RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods
config.before(:suite) do
FactoryBot.find_definitions
end
end