Permalink
Browse files

minor: docs

  • Loading branch information...
1 parent 065d97c commit 56661c4c665bc1820d2e1629b9968e20b395256a @banker banker committed May 4, 2010
Showing with 3 additions and 6 deletions.
  1. +3 −0 lib/mongo/connection.rb
  2. +0 −1 test/connection_test.rb
  3. +0 −1 test/cursor_test.rb
  4. +0 −1 test/db_api_test.rb
  5. +0 −1 test/db_connection_test.rb
  6. +0 −1 test/db_test.rb
  7. +0 −1 test/test_helper.rb
View
@@ -172,6 +172,9 @@ def apply_saved_authentication
# 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
@@ -3,7 +3,6 @@
require 'stringio'
require 'thread'
-# NOTE: assumes Mongo is running
class TestConnection < Test::Unit::TestCase
include Mongo
View
@@ -1,7 +1,6 @@
require 'test/test_helper'
require 'logger'
-# NOTE: assumes Mongo is running
class CursorTest < Test::Unit::TestCase
include Mongo
View
@@ -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
View
@@ -10,7 +10,6 @@ def create_pk(row)
end
end
-# NOTE: assumes Mongo is running
class DBTest < Test::Unit::TestCase
include Mongo
View
@@ -23,7 +23,6 @@
MONGO_TEST_DB = 'mongo-ruby-test'
-# NOTE: most tests assume that MongoDB is running.
class Test::Unit::TestCase
include Mongo
include BSON

0 comments on commit 56661c4

Please sign in to comment.