Browse Source

add failing spec

deepak1556 8 years ago
parent
commit
3aab713d24
1 changed files with 7 additions and 0 deletions
  1. 7 0
      spec/api-protocol-spec.js

+ 7 - 0
spec/api-protocol-spec.js

@@ -570,6 +570,13 @@ describe('protocol module', function () {
   })
 
   describe('protocol.isProtocolHandled', function () {
+    it('returns true for about:', function (done) {
+      protocol.isProtocolHandled('about', function (result) {
+        assert.equal(result, true)
+        done()
+      })
+    })
+
     it('returns true for file:', function (done) {
       protocol.isProtocolHandled('file', function (result) {
         assert.equal(result, true)