Sha256: 305e659a53a025e912a918d2d5b3624c1082d290e7fd281f574242d6922efee7
Contents?: true
Size: 357 Bytes
Versions: 5
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true require 'database_cleaner' RSpec.configure do |config| config.before :suite do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with :truncation end config.before :each do DatabaseCleaner.start end config.around do |spec| DatabaseCleaner.cleaning do spec.run end end end
Version data entries
5 entries across 5 versions & 2 rubygems