# frozen_string_literal: true ::FactoryBot.definition_file_paths << './spec/factories' if ::FactoryBot.factories.count == 0 && ::Rails.application.class.name.include?('Dummy') ::FactoryBot.find_definitions end RSpec.configure do |config| config.include ::FactoryBot::Syntax::Methods end