Sha256: 43e3e0325f4d31639b0c15265ee48274e079bd54d9df6e0240b7f90d22215f2e

Contents?: true

Size: 292 Bytes

Versions: 9

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

require "factory_bot_rails"

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

  config.before(:suite) do
    begin
      DatabaseCleaner.start

      FactoryBot.lint traits: true
    ensure
      DatabaseCleaner.clean
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
archangel-0.4.0 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.3.0 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.8 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.7 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.6 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.5 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.4 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.3 lib/archangel/testing_support/support/factory_bot.rb
archangel-0.0.2 lib/archangel/testing_support/support/factory_bot.rb