Created
November 13, 2017 03:30
-
-
Save koromiko/d5fa15c50eb3f3627cc6389202eb109f to your computer and use it in GitHub Desktop.
This file contains 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_user_press_for_sale_item() { | |
//Given a sut with fetched photos | |
let indexPath = IndexPath(row: 0, section: 0) | |
//When | |
sut.userPressed( at: indexPath ) | |
//Assert | |
XCTAssertTrue( sut.isAllowSegue ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment