Fix specs.
This commit is contained in:
parent
d0abc38afe
commit
9031dcbb2f
2 changed files with 2 additions and 3 deletions
|
@ -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', ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue