mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-09 14:58:05 -05:00
Use UTC for Mongoid timestamps, so it conforms with AR.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Mongoid.configure do |config|
|
||||
config.master = Mongo::Connection.new('127.0.0.1', 27017).db("devise-test-suite")
|
||||
config.master = Mongo::Connection.new('127.0.0.1', 27017).db("devise-test-suite")
|
||||
config.use_utc = true
|
||||
end
|
||||
|
||||
class ActiveSupport::TestCase
|
||||
@@ -7,4 +8,4 @@ class ActiveSupport::TestCase
|
||||
User.delete_all
|
||||
Admin.delete_all
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user