From 32551e8918b22762c067a895382a4faee53b9003 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 13 Oct 2019 00:04:39 +0200 Subject: Refactor StateBinding class with ObservableState interface. --- .../src/test/kotlin/test/pl/treksoft/kvision/redux/ReduxStoreSpec.kt | 2 +- .../test/kotlin/test/pl/treksoft/kvision/redux/StateBindingSpec.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kvision-modules/kvision-redux/src/test') diff --git a/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/ReduxStoreSpec.kt b/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/ReduxStoreSpec.kt index b45eb9dd..80ff65df 100644 --- a/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/ReduxStoreSpec.kt +++ b/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/ReduxStoreSpec.kt @@ -76,7 +76,7 @@ class ReduxStoreSpec : SimpleSpec { } store.dispatch(TestAction.Inc) store.dispatch(TestAction.Dec) - assertEquals(2, counter) + assertEquals(3, counter) } } } diff --git a/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/StateBindingSpec.kt b/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/StateBindingSpec.kt index ec32d0d6..005a2da3 100644 --- a/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/StateBindingSpec.kt +++ b/kvision-modules/kvision-redux/src/test/kotlin/test/pl/treksoft/kvision/redux/StateBindingSpec.kt @@ -24,8 +24,8 @@ package test.pl.treksoft.kvision.redux import pl.treksoft.kvision.html.Div.Companion.div import pl.treksoft.kvision.panel.Root import pl.treksoft.kvision.panel.SimplePanel -import pl.treksoft.kvision.redux.StateBinding.Companion.stateBinding -import pl.treksoft.kvision.redux.StateBinding.Companion.stateUpdate +import pl.treksoft.kvision.state.StateBinding.Companion.stateBinding +import pl.treksoft.kvision.state.StateBinding.Companion.stateUpdate import pl.treksoft.kvision.redux.createReduxStore import redux.RAction import test.pl.treksoft.kvision.DomSpec -- cgit