minor: docs

This commit is contained in:
Kyle Banker 2010-05-04 16:06:06 -04:00
parent 065d97ca1c
commit 56661c4c66
7 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -3,7 +3,6 @@ require 'logger'
require 'stringio'
require 'thread'
# NOTE: assumes Mongo is running
class TestConnection < Test::Unit::TestCase
include Mongo

View File

@ -1,7 +1,6 @@
require 'test/test_helper'
require 'logger'
# NOTE: assumes Mongo is running
class CursorTest < Test::Unit::TestCase
include Mongo

View File

@ -1,6 +1,5 @@
require 'test/test_helper'
# NOTE: assumes Mongo is running
class DBAPITest < Test::Unit::TestCase
include Mongo
include BSON

View File

@ -1,6 +1,5 @@
require 'test/test_helper'
# NOTE: assumes Mongo is running
class DBConnectionTest < Test::Unit::TestCase
include Mongo

View File

@ -10,7 +10,6 @@ class TestPKFactory
end
end
# NOTE: assumes Mongo is running
class DBTest < Test::Unit::TestCase
include Mongo

View File

@ -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