summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/mail_view/data
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@thoughtworks.com>2014-10-07 15:01:42 +0200
committerBruno Wagner <bwagner@thoughtworks.com>2014-10-07 15:01:54 +0200
commit6299531f4c8f7daa1b4afab45d0439f635b03982 (patch)
tree92b2876e732731e5219e50ef7719c72ec2cb478a /web-ui/test/spec/mail_view/data
parent88abefd3e62fb65a08dde62a7d7e4ce1fa22f563 (diff)
Fixed jshint errors
Diffstat (limited to 'web-ui/test/spec/mail_view/data')
-rw-r--r--web-ui/test/spec/mail_view/data/mail_builder.spec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web-ui/test/spec/mail_view/data/mail_builder.spec.js b/web-ui/test/spec/mail_view/data/mail_builder.spec.js
index bf17d598..7f69098f 100644
--- a/web-ui/test/spec/mail_view/data/mail_builder.spec.js
+++ b/web-ui/test/spec/mail_view/data/mail_builder.spec.js
@@ -1,6 +1,6 @@
define(['mail_view/data/mail_builder'], function (mailBuilder) {
+ 'use strict';
describe('mail builder', function () {
- 'use strict';
it('sets ident if passed to constructor', function() {
var mail = mailBuilder.newMail('12345').build();
@@ -15,15 +15,15 @@ define(['mail_view/data/mail_builder'], function (mailBuilder) {
});
it('sets the subject', function() {
- var mail = mailBuilder.newMail().subject("subject").build();
+ var mail = mailBuilder.newMail().subject('subject').build();
- expect(mail.header.subject).toBe("subject");
+ expect(mail.header.subject).toBe('subject');
});
it('sets the body', function() {
- var mail = mailBuilder.newMail().body("some body text").build();
+ var mail = mailBuilder.newMail().body('some body text').build();
- expect(mail.body).toBe("some body text");
+ expect(mail.body).toBe('some body text');
});
describe('to field', function() {