0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
This commit is contained in:
Eliot Horowitz 2010-02-28 22:23:11 -05:00
parent 346a47331c
commit 4ada6f436d

View File

@ -1,11 +1,12 @@
test = new SyncCCTest( "sync1" )
t = test.conn.getDB( "test" ).sync1
db = test.conn.getDB( "test" )
t = db.sync1
t.save( { x : 1 } )
assert.eq( 1 , t.find().itcount() , "A1" );
t.save( { x : 2 } )
assert.eq( 1 , t.find().itcount() , "A2" );
assert.eq( 2 , t.find().itcount() , "A2" );
test.stop();