Sha256: 67757d70327fe3315620fb0e3d47eef801ce7b56c0d577aee724d8d5d41cbf31
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
if defined?(DatabaseCleaner) # cleaning the database using database_cleaner DatabaseCleaner.strategy = :truncation DatabaseCleaner.clean else logger.warn "add database_cleaner or update cypress/app_commands/clean.rb" Post.delete_all if defined?(Post) end CypressOnRails::SmartFactoryWrapper.reload Rails.logger.info "APPCLEANED" # used by log_fail.rb
Version data entries
2 entries across 2 versions & 1 rubygems