[WEB GUI] Fixed tests: (345 test passing, 21 skipped).
Change-Id: Idf24ac6ab599664a052c7cc860a554db82953a79
diff --git a/web/gui/src/main/webapp/tests/app/view/topo/topoToolbar-spec.js b/web/gui/src/main/webapp/tests/app/view/topo/topoToolbar-spec.js
index fd04a51..cb049e4 100644
--- a/web/gui/src/main/webapp/tests/app/view/topo/topoToolbar-spec.js
+++ b/web/gui/src/main/webapp/tests/app/view/topo/topoToolbar-spec.js
@@ -35,14 +35,17 @@
ps.init();
}));
- xit('should define TopoToolbarService', function () {
+ it('should define TopoToolbarService', function () {
expect(ttbs).toBeDefined();
});
xit('should define api functions', function () {
+ // FIXME
+ // areFunctions check that each key of the object is a fn, what if it is a string or whatever?
expect(fs.areFunctions(ttbs, [
'init', 'createToolbar', 'destroyToolbar',
- 'keyListener', 'toggleToolbar'
+ 'keyListener', 'toggleToolbar', 'setDefaultOverlay',
+ 'fnkey'
])).toBeTruthy();
});