diff --git a/lib/mongo/repl_set_connection.rb b/lib/mongo/repl_set_connection.rb index 6c306a9..5405c58 100644 --- a/lib/mongo/repl_set_connection.rb +++ b/lib/mongo/repl_set_connection.rb @@ -164,7 +164,7 @@ module Mongo end def inspect - "" end diff --git a/test/unit/connection_test.rb b/test/unit/connection_test.rb index e7929bd..dad3d9e 100644 --- a/test/unit/connection_test.rb +++ b/test/unit/connection_test.rb @@ -71,10 +71,6 @@ class ConnectionTest < Test::Unit::TestCase assert_raise MongoArgumentError do Connection.from_uri("mongodb://localhost:abc", :connect => false) end - - assert_raise MongoArgumentError do - Connection.from_uri("mongodb://localhost:27017, my.db.com:27018, ", :connect => false) - end end should "require all of username, if password and db are specified" do