Skip to content

Commit 27aa83c

Browse files
committed
re-described component initialization test
1 parent 6e6cafd commit 27aa83c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/spec/routing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ describe('Routing Test', function () {
99

1010
describe('Basic Routing Check', function () {
1111

12-
it('checks routing component is working', function (done) {
12+
it('checks routing component is initialized.', function (done) {
1313
var routingControl = L.Mapzen.routing.control({
1414
router: L.Mapzen.routing.router({costing: 'bicycle'})
1515
});
1616
done();
1717
});
1818

19-
it('checks routing component with both apikey and option is working', function (done) {
19+
it('checks routing component with both apikey and option is initialized', function (done) {
2020
var routingControl = L.Mapzen.routing.control({
2121
router: L.Mapzen.routing.router('mapzen-cstHyBQ', {costing: 'bicycle'})
2222
});

test/spec/search.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ describe('Search Test', function () {
88
})
99

1010
describe('Basic Geocoder Check', function () {
11-
it('checks geocoder is working', function (done) {
11+
it('checks geocoder is initialized', function (done) {
1212
var geocoder = L.Mapzen.geocoder();
1313
done();
1414
});
1515

16-
it('checks geocoder with api key is working', function (done) {
16+
it('checks geocoder with api key is initialized', function (done) {
1717
var geocoder = L.Mapzen.geocoder('mapzen-cstHyBQ');
1818
done();
1919
});
2020

21-
it('checks geocoder with option is working', function (done) {
21+
it('checks geocoder with option is initialized', function (done) {
2222
var geocoder = L.Mapzen.geocoder({
2323
autocomplete: false,
2424
attribution: 'test attribution'
2525
});
2626
done();
2727
});
2828

29-
it('checks geocoder with both api key and option is working', function (done) {
29+
it('checks geocoder with both api key and option is initialized', function (done) {
3030
var geocoder = L.Mapzen.geocoder('mapzen-cstHyBQ', {
3131
autocomplete: false
3232
});

0 commit comments

Comments
 (0)