Sha256: d45118037509817570e23dc5209435fb1b4c1201be97b79b43e5d572ffd278d4

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

require "factory_bot_rails"

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

FactoryBot.tap do |f|
  f.factories.clear
  f.definition_file_paths += [
    Cmor::Legal::Engine.root.join(*%w(spec factories)),
    Rails.root.join(*%w(spec factories))
  ]
  f.find_definitions
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cmor_legal-0.0.51.pre spec/support/factory_bot.rb
cmor_legal-0.0.50.pre spec/support/factory_bot.rb
cmor_legal-0.0.49.pre spec/support/factory_bot.rb
cmor_legal-0.0.48.pre spec/support/factory_bot.rb
cmor_legal-0.0.45.pre spec/support/factory_bot.rb