Fix specs.

This commit is contained in:
Cheng Zhao 2014-06-30 18:32:23 +08:00
parent d0abc38afe
commit 9031dcbb2f
2 changed files with 2 additions and 3 deletions

View file

@ -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', ->

View file

@ -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"
}