Browse Source

Minor reformatting

Mattt Thompson 11 years ago
parent
commit
1416fa07ee
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Tests/UploadTests.swift

+ 1 - 2
Tests/UploadTests.swift

@@ -32,12 +32,11 @@ class UploadResponseTestCase: XCTestCase {
         let expectation = expectationWithDescription(URL)
 
         Alamofire.upload(.POST, URL, data!)
-                 .responseJSON { (request, response, JSON, error) in
+                 .response { (request, response, _, error) in
                     expectation.fulfill()
 
                     XCTAssertNotNil(request, "request should not be nil")
                     XCTAssertNotNil(response, "response should not be nil")
-
                     XCTAssertNil(error, "error should be nil")
                 }