summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-09-03 23:34:32 -0400
committerEliot Horowitz <eliot@10gen.com>2013-09-04 14:31:23 -0400
commit5f40281d1463a4925086b29567499924dec04889 (patch)
tree7ad98ad0527172c5400c73496c9e6e97850a7530 /jstests
parentf38124f816483a2e87c3056d161035d3d1013a15 (diff)
downloadmongo-5f40281d1463a4925086b29567499924dec04889.tar.gz
SERVER-6405: move rename into database
Diffstat (limited to 'jstests')
-rw-r--r--jstests/rename.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/rename.js b/jstests/rename.js
index d475cc6247a..51b74047288 100644
--- a/jstests/rename.js
+++ b/jstests/rename.js
@@ -23,6 +23,7 @@ assert.eq( 2, b.find().count() );
assert( db.system.namespaces.findOne( {name:"test.jstests_rename_b" } ) );
assert( !db.system.namespaces.findOne( {name:"test.jstests_rename_a" } ) );
assert.eq( 3, db.system.indexes.find( {ns:"test.jstests_rename_b"} ).count() );
+assert.eq( 0, db.system.indexes.find( {ns:"test.jstests_rename_a"} ).count() );
assert( b.find( {a:1} ).explain().cursor.match( /^BtreeCursor/ ) );
// now try renaming a capped collection