Created
July 28, 2020 11:44
-
-
Save arkivanov/38eac002fd6811437693b6dbab34dfb1 to your computer and use it in GitHub Desktop.
KittenComponentTest4
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
@Test | |
fun reloads_images_WHEN_Event_RefreshTriggered() { | |
dataSource.generateImages() | |
startComponent() | |
val newImages = dataSource.generateImages() | |
view.dispatch(Event.RefreshTriggered) | |
assertEquals(newImages, view.model.imageUrls) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment