From fbb4d99dae33b80234b08688a02a69b845d8a037 Mon Sep 17 00:00:00 2001 From: Ondrej Rafaj Date: Fri, 16 Mar 2018 16:48:34 +0000 Subject: [PATCH] putting checks back --- .../Extensions/Response tools/Response+Checks.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/VaporTestTools/Extensions/Response tools/Response+Checks.swift b/Sources/VaporTestTools/Extensions/Response tools/Response+Checks.swift index 4a986e6..d992e27 100644 --- a/Sources/VaporTestTools/Extensions/Response tools/Response+Checks.swift +++ b/Sources/VaporTestTools/Extensions/Response tools/Response+Checks.swift @@ -49,8 +49,8 @@ extension TestableProperty where TestableType: Response { return element.http.status.code == value.code && element.http.status.reasonPhrase == message } -// public func has(content value: String) -> Bool { -// return contentString == value -// } + public func has(content value: String) -> Bool { + return contentString == value + } }