Created
March 12, 2018 09:27
-
-
Save rozkminiacz/1156e3f775a2c5a1cc6507106cc70837 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
fun SpecBody.detachPresenterAction(presenter: PeopleListPresenter) { | |
on("presenter detach") { | |
presenter.detach() | |
it("should detach view") { | |
Assert.assertNull(presenter.view) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment