From 018da9049ccef382499a7083561e1b8de43235eb Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Mon, 26 Sep 2011 17:48:17 -0400 Subject: [PATCH] minor: test fix --- lib/mongo/repl_set_connection.rb | 2 +- test/unit/connection_test.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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