From 118a74b183807d5ed2cbda639aee5c2a4e5f8712 Mon Sep 17 00:00:00 2001 From: Giovane Date: Fri, 18 Sep 2015 14:15:32 -0300 Subject: #442 Creates feedback sender component. --- web-ui/test/spec/mail_view/ui/feedback_box.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/test/spec/mail_view/ui') diff --git a/web-ui/test/spec/mail_view/ui/feedback_box.spec.js b/web-ui/test/spec/mail_view/ui/feedback_box.spec.js index a034b028..f0d55791 100644 --- a/web-ui/test/spec/mail_view/ui/feedback_box.spec.js +++ b/web-ui/test/spec/mail_view/ui/feedback_box.spec.js @@ -21,10 +21,10 @@ describeComponent('mail_view/ui/feedback_box', function () { it('should fire submit feedback event', function () { var spy = spyOnEvent(document, Pixelated.events.feedback.submit); - this.component.select("textBox").val("Pixelated is Awesome!"); + this.component.select('textBox').val('Pixelated is Awesome!'); this.component.select('submitButton').click(); - expect(spy).toHaveBeenTriggeredOnAndWith(document, {feedback: "Pixelated is Awesome!"}); - }) + expect(spy).toHaveBeenTriggeredOnAndWith(document, {feedback: 'Pixelated is Awesome!'}); + }); it('should close feedback box after submit', function() { var spy = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openNoMessageSelected); -- cgit v1.2.3