Sha256: 4ce60b521ae3e4ac398dd5d5826bd2f3cd66a6a1017837468b0c914b673d6161
Contents?: true
Size: 511 Bytes
Versions: 14
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true 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 config.before(:suite) do FactoryBot.reload load 'rspeckled/factories/sequences.rb' end config.before(:each) do FactoryBot.rewind_sequences if FactoryBot.respond_to?(:rewind_sequences) end end
Version data entries
14 entries across 14 versions & 1 rubygems