Sha256: bd029af15c31c3fe6083bb52add1501a2708aca75eaa9cabfa35d2ab4beb78a7
Contents?: true
Size: 576 Bytes
Versions: 10
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true ############################################################################## # Factory Bot Plugin ############################################################################## begin require 'factory_bot' FactoryBot.definition_file_paths << './spec/factories' if FactoryBot.configuration.factories.count.zero? && Rails.application.class.name.match(/Dummy/) FactoryBot.find_definitions end RSpec.configure do |config| config.include FactoryBot::Syntax::Methods end rescue LoadError end
Version data entries
10 entries across 10 versions & 1 rubygems