From 7d505bd76eedaf21ef05cfdef7758443f0bad5fc Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 27 May 2020 23:16:14 +0200 Subject: Fix progress bar styles (#155) --- .../test/kotlin/test/pl/treksoft/kvision/progress/ProgressBarSpec.kt | 4 ++-- .../kotlin/test/pl/treksoft/kvision/progress/ProgressIndicatorSpec.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kvision-modules/kvision-bootstrap/src/test') diff --git a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressBarSpec.kt b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressBarSpec.kt index 5f829da2..ff8ae351 100644 --- a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressBarSpec.kt +++ b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressBarSpec.kt @@ -39,13 +39,13 @@ class ProgressBarSpec : DomSpec { root.add(progressBar) val element = document.getElementById("test") assertEqualsHtml( - "
Processing ...
", + "
Processing ...
", element?.innerHTML, "Should render correct progress bar" ) progressBar.max = 200 assertEqualsHtml( - "
Processing ...
", + "
Processing ...
", element?.innerHTML, "Should render correct progress bar after max value change" ) diff --git a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressIndicatorSpec.kt b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressIndicatorSpec.kt index fb0dd6c7..658b25fa 100644 --- a/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressIndicatorSpec.kt +++ b/kvision-modules/kvision-bootstrap/src/test/kotlin/test/pl/treksoft/kvision/progress/ProgressIndicatorSpec.kt @@ -38,13 +38,13 @@ class ProgressIndicatorSpec : DomSpec { root.add(ind) val element = document.getElementById("test") assertEqualsHtml( - "
", + "
", element?.innerHTML, "Should render correct progress bar indicator" ) ind.max = 200 assertEqualsHtml( - "
", + "
", element?.innerHTML, "Should render correct progress bar indicator after max value change" ) -- cgit