diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-05 10:27:15 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-05 10:27:15 +0100 |
commit | 6de370b64cb8f7fcd9d3bd090b8d801d91d2fcca (patch) | |
tree | 0853ae14b6ed3b4d14db19da764d1069caa414da /core | |
parent | 33b798c3d6e28370270925cce873883a333cdbc2 (diff) | |
download | nextcloud-server-6de370b64cb8f7fcd9d3bd090b8d801d91d2fcca.tar.gz nextcloud-server-6de370b64cb8f7fcd9d3bd090b8d801d91d2fcca.zip |
Removed obsolete OC.Router stubs in specHelper
Diffstat (limited to 'core')
-rw-r--r-- | core/js/tests/specHelper.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js index 84c5e8f75bc..3ed4cb6c3b4 100644 --- a/core/js/tests/specHelper.js +++ b/core/js/tests/specHelper.js @@ -86,19 +86,9 @@ window.oc_defaults = {}; // make it globally available, so that other tests can define // custom responses window.fakeServer = fakeServer; - - OC.Router = {}; - OC.Router.routes = []; - OC.Router.routes_request = { - state: sinon.stub().returns('resolved'), - done: sinon.stub() - }; }); afterEach(function() { - OC.Router.routes_request.state.reset(); - OC.Router.routes_request.done.reset(); - // uncomment this to log requests // console.log(window.fakeServer.requests); fakeServer.restore(); |