minor: docs
This commit is contained in:
parent
065d97ca1c
commit
56661c4c66
|
@ -172,6 +172,9 @@ module Mongo
|
|||
# specificed in the list of auths. This method is called automatically
|
||||
# by DB#authenticate.
|
||||
#
|
||||
# Note: this method will not actually issue an authentication command. To do that,
|
||||
# either run Connection#apply_saved_authentication or DB#authenticate.
|
||||
#
|
||||
# @param [String] db_name
|
||||
# @param [String] username
|
||||
# @param [String] password
|
||||
|
|
|
@ -3,7 +3,6 @@ require 'logger'
|
|||
require 'stringio'
|
||||
require 'thread'
|
||||
|
||||
# NOTE: assumes Mongo is running
|
||||
class TestConnection < Test::Unit::TestCase
|
||||
|
||||
include Mongo
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'test/test_helper'
|
||||
require 'logger'
|
||||
|
||||
# NOTE: assumes Mongo is running
|
||||
class CursorTest < Test::Unit::TestCase
|
||||
|
||||
include Mongo
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
require 'test/test_helper'
|
||||
|
||||
# NOTE: assumes Mongo is running
|
||||
class DBAPITest < Test::Unit::TestCase
|
||||
include Mongo
|
||||
include BSON
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
require 'test/test_helper'
|
||||
|
||||
# NOTE: assumes Mongo is running
|
||||
class DBConnectionTest < Test::Unit::TestCase
|
||||
|
||||
include Mongo
|
||||
|
|
|
@ -10,7 +10,6 @@ class TestPKFactory
|
|||
end
|
||||
end
|
||||
|
||||
# NOTE: assumes Mongo is running
|
||||
class DBTest < Test::Unit::TestCase
|
||||
|
||||
include Mongo
|
||||
|
|
|
@ -23,7 +23,6 @@ require 'bson_ext/cbson' if ENV['C_EXT']
|
|||
|
||||
MONGO_TEST_DB = 'mongo-ruby-test'
|
||||
|
||||
# NOTE: most tests assume that MongoDB is running.
|
||||
class Test::Unit::TestCase
|
||||
include Mongo
|
||||
include BSON
|
||||
|
|
Loading…
Reference in New Issue