Created
November 9, 2011 14:35
-
-
Save baudehlo/1351607 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tion(t) { | |
var transaction = createTransaction(postfixText); | |
var body = transaction.body; | |
t.equal(body.header.get_decoded("subject"), subjectText, "Check subject"); | |
t.ok(body.bodytext, "Should have bodytext"); | |
t.ok(body.bodytext.indexOf(wordForCheck) != -1, "Check word in body"); | |
t.end(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment