engine/features/support/cleaner.rb

5 lines
130 B
Ruby
Raw Permalink Normal View History

require 'database_cleaner'
DatabaseCleaner.strategy = :truncation
2010-08-02 06:32:33 +00:00
DatabaseCleaner.orm = "mongoid"
Before{ DatabaseCleaner.clean }