Browse Source

Merge pull request #308 from pelias/label_generator

remove duplicate test
pull/311/head
Peter Johnson a.k.a. insertcoffee 9 years ago
parent
commit
b9087b5d66
  1. 22
      test/unit/helper/labelGenerator.js

22
test/unit/helper/labelGenerator.js

@ -49,28 +49,6 @@ module.exports.tests.nyc_office = function(test, common) {
});
};
// USA venue
module.exports.tests.nyc_office = function(test, common) {
test('30 West 26th Street', function(t) {
var doc = {
'name': { 'default': '30 West 26th Street' },
'housenumber': '30',
'street': 'West 26th Street',
'postalcode': '10010',
'country_a': 'USA',
'country': 'United States',
'region': 'New York',
'region_a': 'NY',
'county': 'New York County',
'localadmin': 'Manhattan',
'locality': 'New York',
'neighbourhood': 'Flatiron District'
};
t.equal(generator(doc),'30 West 26th Street, Manhattan, NY');
t.end();
});
};
// AUS state
module.exports.tests.new_south_wales = function(test, common) {
test('new south wales', function(t) {

Loading…
Cancel
Save