Sha256: 592a3935dbf1241990f7e6e685788fc4b13197c25b5ede35120bc753ee28e831
Contents?: true
Size: 526 Bytes
Versions: 7
Compression:
Stored size: 526 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 if defined?(VCR) VCR.eject_cassette # make sure we no cassette inserted before the next test starts VCR.turn_off! WebMock.disable! if defined?(WebMock) end Rails.logger.info "APPCLEANED" # used by log_fail.rb
Version data entries
7 entries across 7 versions & 1 rubygems