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