Browse Source

Fix downloader test tear down order.

onevcat 10 years ago
parent
commit
e2f08b6ade
1 changed files with 1 additions and 1 deletions
  1. 1 1
      KingfisherTests/ImageDownloaderTests.swift

+ 1 - 1
KingfisherTests/ImageDownloaderTests.swift

@@ -50,9 +50,9 @@ class ImageDownloaderTests: XCTestCase {
     
     override func tearDown() {
         // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
         LSNocilla.sharedInstance().clearStubs()
         downloader = nil
+        super.tearDown()
     }
     
     func testDownloadAnImage() {