test/orm/mongoid.rb in devise-1.4.2 vs test/orm/mongoid.rb in devise-1.4.3
- old
+ new
@@ -1,7 +1,10 @@
+require 'mongoid/version'
+
Mongoid.configure do |config|
config.master = Mongo::Connection.new('127.0.0.1', 27017).db("devise-test-suite")
config.use_utc = true
+ config.include_root_in_json = true
end
class ActiveSupport::TestCase
setup do
User.delete_all