Update spec name to conform to style

This commit is contained in:
Niels de Hoog
2015-11-23 11:30:30 +01:00
parent 1f4aae1859
commit a516de51ff

View File

@@ -104,7 +104,7 @@ describe("IfNode") {
try expect(try node.render(arrayContext)) == "false"
}
$0.it("renders false when Array<Any> variable is empty") {
$0.it("renders the false when Array<Any> variable is empty") {
let arrayContext = Context(dictionary: ["items": ([] as [Any])])
let node = IfNode(variable: "items", trueNodes: [TextNode(text: "true")], falseNodes: [TextNode(text: "false")])
try expect(try node.render(arrayContext)) == "false"