]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix specs.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 30 Jun 2014 10:32:23 +0000 (18:32 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 30 Jun 2014 10:32:23 +0000 (18:32 +0800)
spec/api-protocol-spec.coffee
spec/package.json

index 8cff8b331d63680e661d6853e0851b74e641adc6..b0b152aa5fd9683030c6318fdf302d3b6149639b 100644 (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', ->
index 52c0c32d9d837f01c7e618a296aa3f3ef82b1616..6455381c253e9cb12f86a1b8e798ae0e9b5d2f54 100644 (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"
   }