fix write controller test

This commit is contained in:
Felix Hammerl 2014-02-25 14:19:01 +01:00
parent 25adfbf8b1
commit 341fb008ea
1 changed files with 5 additions and 3 deletions

View File

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