engine/vendor/plugins/custom_fields/spec/support/mongoid.rb

6 lines
238 B
Ruby
Raw Normal View History

Mongoid.configure do |config|
name = "custom_fields_test"
host = "localhost"
config.master = Mongo::Connection.new.db(name)
# config.master = Mongo::Connection.new('localhost', '27017', :logger => Logger.new($stdout)).db(name)
end