From 9031dcbb2fdc22b6838aff59967d8c65dcdee114 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 30 Jun 2014 18:32:23 +0800 Subject: [PATCH] Fix specs. --- spec/api-protocol-spec.coffee | 1 - spec/package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/api-protocol-spec.coffee b/spec/api-protocol-spec.coffee index 8cff8b331..b0b152aa5 100644 --- a/spec/api-protocol-spec.coffee +++ b/spec/api-protocol-spec.coffee @@ -18,7 +18,6 @@ describe 'protocol module', -> it 'calls the callback when scheme is visited', (done) -> protocol.registerProtocol 'test2', (request) -> assert.equal request.url, 'test2://test2' - assert.equal request.referrer, window.location.toString() protocol.unregisterProtocol 'test2' done() $.get 'test2://test2', -> diff --git a/spec/package.json b/spec/package.json index 52c0c32d9..6455381c2 100644 --- a/spec/package.json +++ b/spec/package.json @@ -6,10 +6,10 @@ "devDependencies": { "formidable": "~1.0.14", - "pathwatcher": "1.3.1", + "pathwatcher": "1.4.*", "q": "0.9.7", "mocha": "~1.18.2", - "runas": "0.5.*", + "runas": "0.6.*", "temp": "~0.6.0", "walkdir": "~0.0.7" }