Browse Source

Test a sort() call with a params object without an input.

See https://github.com/pelias/api/pull/113/files#r28972709.
pull/113/head
Severyn Kozak 10 years ago
parent
commit
5b389833bd
  1. 4
      test/unit/query/sort.js

4
test/unit/query/sort.js

@ -51,8 +51,8 @@ var expected = [
module.exports.tests.query = function(test, common) {
test('valid part of query', function(t) {
var sort = generate();
t.deepEqual(sort, expected, 'valid sort part of the query');
t.deepEqual(generate(), expected, 'valid sort part of the query');
t.deepEqual(generate( {} ), expected, 'valid sort part of the query');
t.end();
});
};

Loading…
Cancel
Save