summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specHelper.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-05 01:10:39 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-05 01:10:39 +0100
commit33b798c3d6e28370270925cce873883a333cdbc2 (patch)
tree4bbfc828395ce1adbc256ec0e34d063bd4e8d3f8 /core/js/tests/specHelper.js
parent5f711912a1f6db7a2f28105101f808e89a2efe50 (diff)
downloadnextcloud-server-33b798c3d6e28370270925cce873883a333cdbc2.tar.gz
nextcloud-server-33b798c3d6e28370270925cce873883a333cdbc2.zip
fixing js unit tests
Diffstat (limited to 'core/js/tests/specHelper.js')
-rw-r--r--core/js/tests/specHelper.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js
index b1193240580..84c5e8f75bc 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -87,6 +87,7 @@ window.oc_defaults = {};
// custom responses
window.fakeServer = fakeServer;
+ OC.Router = {};
OC.Router.routes = [];
OC.Router.routes_request = {
state: sinon.stub().returns('resolved'),