RUBY-398 test fix

This commit is contained in:
Kyle Banker 2012-01-20 11:00:38 -05:00
parent b5576a7ecd
commit 68c613ce79
1 changed files with 1 additions and 0 deletions

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