summaryrefslogtreecommitdiff
path: root/jstests/geo_box3.js
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-05-11 15:10:48 -0400
committerRichard Kreuter <richard@10gen.com>2010-05-11 15:10:48 -0400
commitbf780fbbfff29af8030aa56ca19f41d20995f08c (patch)
tree585cde2501e4d939e587e38c421cf2d8c8db7ca0 /jstests/geo_box3.js
parent98494ccac9f97f84f2c81cd7785dd7053a5e33dd (diff)
downloadmongo-bf780fbbfff29af8030aa56ca19f41d20995f08c.tar.gz
Fix test file for SERVER-994.
Diffstat (limited to 'jstests/geo_box3.js')
-rw-r--r--jstests/geo_box3.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/geo_box3.js b/jstests/geo_box3.js
index 60b9d39e223..26b01e72031 100644
--- a/jstests/geo_box3.js
+++ b/jstests/geo_box3.js
@@ -2,6 +2,6 @@ t=db.geo_box3;
t.drop();
// SERVER-994
-db.foo.insert({ point : { x : -15, y : 10 } });
-db.foo.ensureIndex( { point : "2d" } , { min : -21 , max : 21 } );
-db.foo.find({point: {"$within": {"$box": [[-20, 7], [0, 15]]} } });
+t.insert({ point : { x : -15, y : 10 } });
+t.ensureIndex( { point : "2d" } , { min : -21 , max : 21 } );
+t.find({point: {"$within": {"$box": [[-20, 7], [0, 15]]} } });