From 27aa83c46111c6396f4d01035ad92eec157d1afe Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Fri, 16 Jun 2017 17:30:24 -0400 Subject: [PATCH] re-described component initialization test --- test/spec/routing.js | 4 ++-- test/spec/search.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/spec/routing.js b/test/spec/routing.js index a0d29bc8..e2edf502 100644 --- a/test/spec/routing.js +++ b/test/spec/routing.js @@ -9,14 +9,14 @@ describe('Routing Test', function () { describe('Basic Routing Check', function () { - it('checks routing component is working', function (done) { + it('checks routing component is initialized.', function (done) { var routingControl = L.Mapzen.routing.control({ router: L.Mapzen.routing.router({costing: 'bicycle'}) }); done(); }); - it('checks routing component with both apikey and option is working', function (done) { + it('checks routing component with both apikey and option is initialized', function (done) { var routingControl = L.Mapzen.routing.control({ router: L.Mapzen.routing.router('mapzen-cstHyBQ', {costing: 'bicycle'}) }); diff --git a/test/spec/search.js b/test/spec/search.js index 16b420b1..1b06d9f7 100644 --- a/test/spec/search.js +++ b/test/spec/search.js @@ -8,17 +8,17 @@ describe('Search Test', function () { }) describe('Basic Geocoder Check', function () { - it('checks geocoder is working', function (done) { + it('checks geocoder is initialized', function (done) { var geocoder = L.Mapzen.geocoder(); done(); }); - it('checks geocoder with api key is working', function (done) { + it('checks geocoder with api key is initialized', function (done) { var geocoder = L.Mapzen.geocoder('mapzen-cstHyBQ'); done(); }); - it('checks geocoder with option is working', function (done) { + it('checks geocoder with option is initialized', function (done) { var geocoder = L.Mapzen.geocoder({ autocomplete: false, attribution: 'test attribution' @@ -26,7 +26,7 @@ describe('Search Test', function () { done(); }); - it('checks geocoder with both api key and option is working', function (done) { + it('checks geocoder with both api key and option is initialized', function (done) { var geocoder = L.Mapzen.geocoder('mapzen-cstHyBQ', { autocomplete: false });