Browse Source

Merge pull request #1108 from topchul/FixTypo/ResponseSerializationTestCase

Fixed unmatching Serializer with testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON
Christian Noon 10 years ago
parent
commit
47b3303aca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/ResponseSerializationTests.swift

+ 1 - 1
Tests/ResponseSerializationTests.swift

@@ -357,7 +357,7 @@ class ResponseSerializationTestCase: BaseTestCase {
 
     func testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON() {
         // Given
-        let serializer = Request.stringResponseSerializer()
+        let serializer = Request.JSONResponseSerializer()
         let data = "{\"json\": true}".dataUsingEncoding(NSUTF8StringEncoding)!
 
         // When