Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
bygri committed Apr 7, 2017
1 parent d26cb51 commit b895097
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/MailTests/DropletTests.swift
Expand Up @@ -97,10 +97,9 @@ class DropletTests: XCTestCase {
to: "to1@email.com", "to2@email.com",
subject: "Email Subject",
body: EmailBody(drop, type: .html, view: "email", [
"firstName": "Peter",
"lastName": "Pan"
"name": "Peter Pan",
]))
XCTAssertEqual(email.body.content, "object([\"firstName\": Node.Node.string(\"Peter\"), \"lastName\": Node.Node.string(\"Pan\")])")
XCTAssertEqual(email.body.content, "object([\"name\": Node.Node.string(\"Peter Pan\")])")
try drop.mailer?.send(email)
}

Expand Down

0 comments on commit b895097

Please sign in to comment.