Skip to content

Commit

Permalink
Remove teardown()
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Jan 30, 2015
1 parent edc840c commit 410e866
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Tests/DownloadTests.swift
Expand Up @@ -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() {
Expand Down

0 comments on commit 410e866

Please sign in to comment.