rex/spec/support/factory_bot.rb

12 lines
197 B
Ruby
Raw Normal View History

2023-10-28 11:06:51 +02:00
# 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