summaryrefslogtreecommitdiff
path: root/jstests/core/exists7.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/exists7.js')
-rw-r--r--jstests/core/exists7.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/exists7.js b/jstests/core/exists7.js
index 74ea4e9719c..6ca55a42286 100644
--- a/jstests/core/exists7.js
+++ b/jstests/core/exists7.js
@@ -18,5 +18,5 @@ function testIntegerExistsSpec() {
}
testIntegerExistsSpec();
-t.ensureIndex({b: 1});
+t.createIndex({b: 1});
testIntegerExistsSpec();