Last active
August 19, 2017 17:50
-
-
Save tovkal/3ced332babd7cafffd1c9254368847d2 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
// Just check the enum | |
expect(state).to(beContent()) | |
// Check the enum and verify whatever properties we need from the associated value | |
expect(state).to(beContent { response in | |
expect(response) === expectedResponse | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment