Sha256: 3e8bc4abb50939ece71619ff087d857e4049ee4428b4c696829ab21ca4f6c696

Contents?: true

Size: 438 Bytes

Versions: 32

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

require 'factory_bot_rails'

RSpec.configure do |config|
  config.include FactoryBot::Syntax::Methods
end

::FactoryBot.definition_file_paths += ::EacRailsBase0::XEngine.local.flat_map do |engine|
  %w[factories test/factories spec/factories].map do |subpath|
    engine.config.root.join(subpath).to_path
  end
end

::FactoryBot.find_definitions

Spring.after_fork { FactoryBot.reload } if defined?(Spring)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
eac_rails_base0-0.52.3 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.52.2 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.52.1 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.52.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.51.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.50.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.49.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.48.1 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.48.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.47.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.46.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.45.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.44.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.43.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.42.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.41.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.40.1 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.40.0 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.39.1 lib/eac_rails_base0/spec_helper/factory_bot.rb
eac_rails_base0-0.39.0 lib/eac_rails_base0/spec_helper/factory_bot.rb