Sha256: 3a4e81b0fb06f17fc1619eded61452fb4160bb51e78c9bc4c372688d0f9f78e1
Contents?: true
Size: 342 Bytes
Versions: 16
Compression:
Stored size: 342 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 { DatabaseCleaner.start } config.around do |spec| DatabaseCleaner.cleaning do spec.run end end end
Version data entries
16 entries across 16 versions & 2 rubygems