Created
February 11, 2012 01:41
-
-
Save petrokoriakin/1795054 to your computer and use it in GitHub Desktop.
collection expectation
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
interaxt.container.createComment 'the commment' | |
@result = interaxt.app.showEvent.collection$Values(20).forEach( | |
(comment) => | |
if comment.getBody == 'the commment' | |
return true | |
) | |
expect(interaxt.can).toHaveBeenCalled() | |
expect(@result).toBeTruthy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment