Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created March 12, 2018 09:25
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 rozkminiacz/85e75dfc6ed6b4ded3e2e78b86c9e593 to your computer and use it in GitHub Desktop.
Save rozkminiacz/85e75dfc6ed6b4ded3e2e78b86c9e593 to your computer and use it in GitHub Desktop.
on("presenter attach") {
presenter.attach(view)
presenterAttachStandardFlow(view, presenter) {
it("should add people to view") {
verify(view).addPeople(peopleList)
}
it("should never show error") {
verify(view, never()).showError(anyOrNull())
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment