Sha256: 4830870bdd2a86155185798dd350c15e408db3bff3d7903665c274fc06f56e4e

Contents?: true

Size: 399 Bytes

Versions: 16

Compression:

Stored size: 399 Bytes

Contents

require 'factory_bot_rails'

RSpec.configure do |config|
  # Allow to use build and create methods without FactoryBot prefix.
  config.include FactoryBot::Syntax::Methods

  # Make sure factories are up to date when using spring. Skip in CI
  # since reloading causes factories to be excluded in test coverage.
  unless ENV['CI']
    config.before(:all) do
      FactoryBot.reload
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
pageflow-panorama-2.4.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.10.0 spec/support/config/factory_bot.rb
pageflow-panorama-2.3.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.9.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.8.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.7.1 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.7.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.6.1 spec/support/config/factory_bot.rb
pageflow-panorama-2.2.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.6.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.5.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.4.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.3.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.2.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.1.0 spec/support/config/factory_bot.rb
pageflow-linkmap-page-2.0.0 spec/support/config/factory_bot.rb