Created
August 15, 2020 20:52
-
-
Save victorpanitz/8e3f075f72f7da076451945b0a5a5c58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func test_cancellAllTasks_givenExistsActiveTasks_shouldCancellAllOfThem() { | |
let sut = Network( parameters ... ) | |
sut.session.dataTask(with: URL(fileURLWithPath: "lorem/ipsum")).resume() | |
sut.session.dataTask(with: URL(fileURLWithPath: "foo/bar")).resume() | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment