diff options
author | Caio Carrara <ccarrara@thoughtworks.com> | 2016-06-24 17:15:54 -0300 |
---|---|---|
committer | Caio Carrara <ccarrara@thoughtworks.com> | 2016-06-27 16:39:55 -0300 |
commit | 361796f0ff1eb0f450f768749d5c69f5c4f6b1e4 (patch) | |
tree | 01e1729ce21feccba9c08fd6e7d8452397d5521a /web-ui/test/spec/mail_view/ui/reply_box.spec.js | |
parent | 6042a2b1b93d2f2a89c418971d7e12b5a79b3314 (diff) |
Updates the i18next to latest version
See: #727
Diffstat (limited to 'web-ui/test/spec/mail_view/ui/reply_box.spec.js')
-rw-r--r-- | web-ui/test/spec/mail_view/ui/reply_box.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/mail_view/ui/reply_box.spec.js b/web-ui/test/spec/mail_view/ui/reply_box.spec.js index 731d57b3..896fdde3 100644 --- a/web-ui/test/spec/mail_view/ui/reply_box.spec.js +++ b/web-ui/test/spec/mail_view/ui/reply_box.spec.js @@ -13,7 +13,7 @@ describeComponent('mail_view/ui/reply_box', function () { describe('reply compose box', function() { it('should display subject of the reply', function() { - expect(this.component.select('subjectDisplay').text()).toBe(i18n('Re: ') + attrs.mail.header.subject); + expect(this.component.select('subjectDisplay').text()).toBe(i18n.t('re') + attrs.mail.header.subject); }); it('should show recipient fields when clicking on recipient display', function() { @@ -43,7 +43,7 @@ describeComponent('mail_view/ui/reply_box', function () { this.setupComponent(attrs); - expect(this.component.select('subjectDisplay').text()).toEqual(i18n('Re: ')+ attrs.mail.header.subject); + expect(this.component.select('subjectDisplay').text()).toEqual(i18n.t('re')+ attrs.mail.header.subject); }); it('should use set In-Reply-To header when Message-Id header is set', function() { |