minor: test fix
This commit is contained in:
parent
9eaf6b7b83
commit
018da9049c
@ -164,7 +164,7 @@ module Mongo
|
||||
end
|
||||
|
||||
def inspect
|
||||
"<Mongo::ReplSetConnection:0x#{self.object_id.to_s(16)} @seeds=#{@seeds} " +
|
||||
"<Mongo::ReplSetConnection:0x#{self.object_id.to_s(16)} @seeds=#{@seeds.inspect} " +
|
||||
"@connected=#{@connected}>"
|
||||
end
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user