diff options
Diffstat (limited to 'web-ui/test/spec/services/model')
-rw-r--r-- | web-ui/test/spec/services/model/mail.spec.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web-ui/test/spec/services/model/mail.spec.js b/web-ui/test/spec/services/model/mail.spec.js index 5bdad88b..ba91ebde 100644 --- a/web-ui/test/spec/services/model/mail.spec.js +++ b/web-ui/test/spec/services/model/mail.spec.js @@ -1,4 +1,4 @@ -/*global Smail */ +/*global Pixelated */ require(['services/model/mail'], function (Mail) { var testData; @@ -21,10 +21,10 @@ require(['services/model/mail'], function (Mail) { describe('a single email', function () { var sentMail, draftMail, recievedMail, recievedMailWithCC; beforeEach(function () { - sentMail = Mail.create(Smail.testData().rawMail.sent); - draftMail = Mail.create(Smail.testData().rawMail.draft); - recievedMail = Mail.create(Smail.testData().rawMail.recieved); - recievedMailWithCC = Mail.create(Smail.testData().rawMail.recievedWithCC); + sentMail = Mail.create(Pixelated.testData().rawMail.sent); + draftMail = Mail.create(Pixelated.testData().rawMail.draft); + recievedMail = Mail.create(Pixelated.testData().rawMail.recieved); + recievedMailWithCC = Mail.create(Pixelated.testData().rawMail.recievedWithCC); }); it('correctly identifies a sent mail', function () { @@ -64,7 +64,7 @@ require(['services/model/mail'], function (Mail) { var parsedMultipartMail; beforeEach(function () { - parsedMultipartMail = Mail.create(Smail.testData().rawMail.multipart); + parsedMultipartMail = Mail.create(Pixelated.testData().rawMail.multipart); }); it('parses the mail as multipart/alternative', function () { |