1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-16 06:05:07 -05:00

fix write controller test

This commit is contained in:
Felix Hammerl 2014-02-25 14:19:01 +01:00
parent 25adfbf8b1
commit 341fb008ea

View File

@ -271,12 +271,14 @@ define(function(require) {
describe('send to outbox', function() { describe('send to outbox', function() {
it('should work', function() { it('should work', function() {
scope.to = [{
address: 'pity@dafool'
}];
scope.from = [{ scope.from = [{
address: 'pity@dafool' address: 'pity@dafool'
}]; }];
scope.to = [{
address: 'pity@dafool'
}];
scope.cc = [];
scope.bcc = [];
scope.subject = 'Ermahgerd!'; scope.subject = 'Ermahgerd!';
scope.body = 'wow. much body! very text!'; scope.body = 'wow. much body! very text!';
scope.attachments = []; scope.attachments = [];