1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/test/orm/mongoid.rb
2010-11-26 00:54:08 -02:00

11 lines
236 B
Ruby

Mongoid.configure do |config|
config.master = Mongo::Connection.new('127.0.0.1', 27017).db("devise-test-suite")
config.use_utc = true
end
class ActiveSupport::TestCase
setup do
User.delete_all
Admin.delete_all
end
end