engine/features/support/cleaner.rb
2010-08-01 23:32:33 -07:00

5 lines
130 B
Ruby

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation
DatabaseCleaner.orm = "mongoid"
Before{ DatabaseCleaner.clean }