From bf895a9a1a7dd7962fdc8ceea02703af9ee7cf68 Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Fri, 1 Aug 2014 12:48:36 -0700 Subject: [PATCH] fix(datastore): fix regression test for filter by key. Broken by api change in #75. --- regression/datastore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression/datastore.js b/regression/datastore.js index adc95de6586..b2a4bd823b9 100644 --- a/regression/datastore.js +++ b/regression/datastore.js @@ -257,9 +257,9 @@ describe('datastore', function() { it('should filter by key', function(done) { var q = ds.createQuery('Character') .filter('__key__ =', ['Character', 'Rickard']); - ds.runQuery(q, function(err, keys, objs, nextQuery) { + ds.runQuery(q, function(err, entities, nextQuery) { if (err) return done(err); - assert.equal(objs.length, 1); + assert.equal(entities.length, 1); done(); }); });