From 0b44ba68c33c2b17511c98bda0d8b14693e0ce63 Mon Sep 17 00:00:00 2001 From: Diana Shkolnikov Date: Tue, 5 May 2015 11:21:00 -0400 Subject: [PATCH] forgot to add test to commit --- test/unit/sanitiser/reverse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/sanitiser/reverse.js b/test/unit/sanitiser/reverse.js index c28eeb03..6dbcda3a 100644 --- a/test/unit/sanitiser/reverse.js +++ b/test/unit/sanitiser/reverse.js @@ -8,7 +8,7 @@ var suggest = require('../../../sanitiser/reverse'), layers: [ 'geoname', 'osmnode', 'osmway', 'admin0', 'admin1', 'admin2', 'neighborhood', 'locality', 'local_admin', 'osmaddress', 'openaddresses' ], lon: 0, - size: 1, + size: 10, details: true, categories: [] }, @@ -108,7 +108,7 @@ module.exports.tests.sanitize_lon = function(test, common) { module.exports.tests.sanitize_size = function(test, common) { test('invalid size value', function(t) { sanitize({ size: 'a', input: 'test', lat: 0, lon: 0 }, function( err, clean ){ - t.equal(clean.size, 1, 'default size set'); + t.equal(clean.size, 10, 'default size set'); t.end(); }); });