diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-11 13:14:47 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-11 14:40:19 +0100 |
commit | 9636c0b3e365fe144e11731a9628f5cfa034543d (patch) | |
tree | 874842f7aae24ffe94447b060a145095e7fa0af2 /views | |
parent | a9347ad53529f4cf89367746c86de5282104c8fc (diff) | |
download | kube-9636c0b3e365fe144e11731a9628f5cfa034543d.tar.gz kube-9636c0b3e365fe144e11731a9628f5cfa034543d.zip |
Test some basic properties of outgoing mails
Diffstat (limited to 'views')
-rw-r--r-- | views/composer/tests/tst_composerview.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/composer/tests/tst_composerview.qml b/views/composer/tests/tst_composerview.qml index eac391c1..aa427d3f 100644 --- a/views/composer/tests/tst_composerview.qml +++ b/views/composer/tests/tst_composerview.qml | |||
@@ -93,5 +93,9 @@ TestCase { | |||
93 | 93 | ||
94 | tryVerify(function(){ return TestStore.load("mail", {resource: "resource2"}) }) | 94 | tryVerify(function(){ return TestStore.load("mail", {resource: "resource2"}) }) |
95 | tryVerify(function(){ return !TestStore.load("mail", {resource: "resource1"}) }) | 95 | tryVerify(function(){ return !TestStore.load("mail", {resource: "resource1"}) }) |
96 | |||
97 | var outgoingMail = TestStore.read(TestStore.load("mail", {resource: "resource2"})) | ||
98 | compare(outgoingMail.subject, "subject") | ||
99 | compare(outgoingMail.draft, false) | ||
96 | } | 100 | } |
97 | } | 101 | } |