Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-05 13:27:15 +0400
committerVincent Petry <pvince81@owncloud.com>2014-03-05 13:27:15 +0400
commit6de370b64cb8f7fcd9d3bd090b8d801d91d2fcca (patch)
tree0853ae14b6ed3b4d14db19da764d1069caa414da /core
parent33b798c3d6e28370270925cce873883a333cdbc2 (diff)
Removed obsolete OC.Router stubs in specHelper
Diffstat (limited to 'core')
-rw-r--r--core/js/tests/specHelper.js10
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();