Skip to content

Instantly share code, notes, and snippets.

@petrokoriakin
Created February 11, 2012 01:41
Show Gist options
  • Save petrokoriakin/1795054 to your computer and use it in GitHub Desktop.
Save petrokoriakin/1795054 to your computer and use it in GitHub Desktop.
collection expectation
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