RUBY-398 test fix

This commit is contained in:
Kyle Banker 2012-01-20 11:00:38 -05:00
parent b5576a7ecd
commit 68c613ce79

View File

@ -15,6 +15,7 @@ class ComplexConnectTest < Test::Unit::TestCase
@conn = ReplSetConnection.new([self.rs.host, self.rs.ports[2]], [self.rs.host, self.rs.ports[1]], @conn = ReplSetConnection.new([self.rs.host, self.rs.ports[2]], [self.rs.host, self.rs.ports[1]],
[self.rs.host, self.rs.ports[0]]) [self.rs.host, self.rs.ports[0]])
@conn['test']['foo'].insert({:a => 1})
assert @conn['test']['foo'].find_one assert @conn['test']['foo'].find_one
config = primary['local']['system.replset'].find_one config = primary['local']['system.replset'].find_one