Skip to content

Instantly share code, notes, and snippets.

@TheAdamBorek
Created February 26, 2017 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheAdamBorek/3da38dff885269b1ceede944b872b254 to your computer and use it in GitHub Desktop.
Save TheAdamBorek/3da38dff885269b1ceede944b872b254 to your computer and use it in GitHub Desktop.
func test_asksManagerForLastPhotoTaken_version2() {
let expectedImage = UIImage()
photosManagerMock.expectedImage = expectedImage
let image = try! subject.lastPhotoTaken.toBlocking().first()!
XCTAssertEqual(image, expectedImage)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment