summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/mail_list_actions
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-23 20:25:28 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-23 20:25:28 -0300
commit12706c25ef02974ff54d1f42caac268f6eaa3a0c (patch)
tree141fb7f7a8c6d5cf530bdebe0b81bd72451e6414 /web-ui/test/spec/mail_list_actions
parent0837621dd7a4d843adabd1ea80e42d8599cbe5f7 (diff)
[#619] Fix the failing tests
Diffstat (limited to 'web-ui/test/spec/mail_list_actions')
-rw-r--r--web-ui/test/spec/mail_list_actions/ui/mail_list_actions.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/mail_list_actions/ui/mail_list_actions.spec.js b/web-ui/test/spec/mail_list_actions/ui/mail_list_actions.spec.js
index d8917ed9..a12ca98a 100644
--- a/web-ui/test/spec/mail_list_actions/ui/mail_list_actions.spec.js
+++ b/web-ui/test/spec/mail_list_actions/ui/mail_list_actions.spec.js
@@ -17,7 +17,7 @@ describeComponent('mail_list_actions/ui/mail_list_actions', function () {
it('should render button text delete permanently if tag trash', function () {
$(document).trigger(Pixelated.events.ui.tag.select, {tag: 'trash'});
- expect(this.component.$node.html()).toMatch('<li><input type="button" id="delete-selected" value="Delete permanently" disabled="disabled"></li>');
+ expect(this.component.$node.html()).toMatch('<li><input type="button" id="delete-selected" value="Delete Permanently" disabled="disabled"></li>');
});
it('should render button delete permanently if url contains trash tag', function () {
@@ -26,7 +26,7 @@ describeComponent('mail_list_actions/ui/mail_list_actions', function () {
this.setupComponent();
- expect(this.component.$node.html()).toMatch('<li><input type="button" id="delete-selected" value="Delete permanently" disabled="disabled"></li>');
+ expect(this.component.$node.html()).toMatch('<li><input type="button" id="delete-selected" value="Delete Permanently" disabled="disabled"></li>');
});
it('should render move to inbox if on trash', function () {