Created
July 28, 2020 11:33
-
-
Save arkivanov/81feedc5ff97bbc810fe1f4b6a1514a2 to your computer and use it in GitHub Desktop.
KittenStoreTest4
This file contains hidden or 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_Intent_Reload() { | |
| network.generateImages() | |
| val store = store() | |
| val newImages = network.generateImages() | |
| store.onNext(Intent.Reload) | |
| assertEquals(State.Data.Images(urls = newImages), store.state.data) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment