Skip to content

Commit 6f48c76

Browse files
CloudNinerCloudNiner
authored andcommitted
Add blank LeafletController spec
TODO: Add tests for LeafletController later, once API is a bit more locked down
1 parent 52fc4bc commit 6f48c76

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
'use strict';
2+
3+
describe('az.leaflet AZLeafletController spec', function() {
4+
5+
beforeEach(module('az.leaflet'));
6+
7+
var LeafletController;
8+
var $scope;
9+
var $timeout;
10+
11+
describe('test AZLeafletController', function () {
12+
beforeEach(inject(function ($controller, $rootScope, _$timeout_) {
13+
$timeout = _$timeout_;
14+
$scope = $rootScope.$new();
15+
LeafletController = $controller('AZLeafletController', {$scope: $scope});
16+
$scope.$apply();
17+
}));
18+
});
19+
});

0 commit comments

Comments
 (0)