engine/features/support/cleaner.rb

4 lines
133 B
Ruby

require 'database_cleaner'
require 'database_cleaner/cucumber'
DatabaseCleaner.strategy = :truncation
DatabaseCleaner.orm = "mongoid"