diff options
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r-- | web-ui/test/spec/page/feedback.spec.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web-ui/test/spec/page/feedback.spec.js b/web-ui/test/spec/page/feedback.spec.js index e69de29b..1435a4b8 100644 --- a/web-ui/test/spec/page/feedback.spec.js +++ b/web-ui/test/spec/page/feedback.spec.js @@ -0,0 +1,17 @@ +describeComponent('page/feedback', function () { + 'use strict'; + + describe('feedback link', function () { + + it('should trigger ui:feedback:open event on click', function () { + + this.setupComponent('<nav id="feedback"></nav>', {}); + var spy = spyOnEvent(document, Pixelated.events.ui.feedback.open); + + this.$node.find('a').click(); + expect(spy).toHaveBeenTriggeredOn(document); + }); + + }); +}); + |