projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece319a
)
Add assert for role with app name in label
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 22 Jun 2016 21:22:15 +0000
(14:22 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 22 Jun 2016 21:22:15 +0000
(14:22 -0700)
spec/api-menu-spec.js
patch
|
blob
|
history
diff --git
a/spec/api-menu-spec.js
b/spec/api-menu-spec.js
index
a6c56a9
..
7d1044b
100644
(file)
--- a/
spec/api-menu-spec.js
+++ b/
spec/api-menu-spec.js
@@
-417,6
+417,10
@@
describe('menu module', function () {
var item = new MenuItem({role: 'help'})
assert.equal(item.label, 'Help')
assert.equal(item.accelerator, undefined)
+
+ var item = new MenuItem({role: 'about'})
+ assert.equal(item.label, 'About Electron Test')
+ assert.equal(item.accelerator, undefined)
})
})
})