Browse Source

Remove teardown()

Mattt Thompson 11 years ago
parent
commit
410e866d8f
1 changed files with 0 additions and 9 deletions
  1. 0 9
      Tests/DownloadTests.swift

+ 0 - 9
Tests/DownloadTests.swift

@@ -28,15 +28,6 @@ class AlamofireDownloadResponseTestCase: XCTestCase {
     let searchPathDirectory: NSSearchPathDirectory = .DocumentDirectory
     let searchPathDomain: NSSearchPathDomainMask = .UserDomainMask
 
-    override func tearDown() {
-        let fileManager = NSFileManager.defaultManager()
-        let directory = fileManager.URLsForDirectory(searchPathDirectory, inDomains: searchPathDomain)[0] as NSURL
-        let contents = fileManager.contentsOfDirectoryAtURL(directory, includingPropertiesForKeys: nil, options: NSDirectoryEnumerationOptions.SkipsHiddenFiles, error: nil)!
-        for file in contents {
-            fileManager.removeItemAtURL(file as NSURL, error: nil)
-        }
-    }
-
     // MARK: -
 
     func testDownloadRequest() {