Skip to content

Commit

Permalink
fix(datastore): fix regression test for filter by key.
Browse files Browse the repository at this point in the history
Broken by api change in googleapis#75.
  • Loading branch information
silvolu committed Aug 1, 2014
1 parent 771d3cc commit bf895a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regression/datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});
Expand Down

0 comments on commit bf895a9

Please sign in to comment.