From bfefc0666b160965248a2b54314fb06e9f1723c6 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Tue, 7 Apr 2015 23:06:28 +0200 Subject: [PATCH] Add basic test for ol.Geolocation --- test/spec/ol/geolocation.test.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/spec/ol/geolocation.test.js diff --git a/test/spec/ol/geolocation.test.js b/test/spec/ol/geolocation.test.js new file mode 100644 index 0000000000..51994d14f4 --- /dev/null +++ b/test/spec/ol/geolocation.test.js @@ -0,0 +1,16 @@ +goog.provide('ol.test.Geolocation'); + +describe('ol.Geolocation', function() { + + describe('constructor', function() { + + it('can be constructed without arguments', function() { + var instance = new ol.Geolocation(); + expect(instance).to.be.an(ol.Geolocation); + }); + + }); + +}); + +goog.require('ol.Geolocation');