From 341fb008ea1cf6560e503d7a8546dcbff6bf4ba9 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Tue, 25 Feb 2014 14:19:01 +0100 Subject: [PATCH] fix write controller test --- test/new-unit/write-ctrl-test.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/new-unit/write-ctrl-test.js b/test/new-unit/write-ctrl-test.js index 04c7a20..f537c70 100644 --- a/test/new-unit/write-ctrl-test.js +++ b/test/new-unit/write-ctrl-test.js @@ -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 = [];