aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-09-30 01:34:06 +0200
committerRobert Jaros <rjaros@finn.pl>2017-09-30 01:34:06 +0200
commit4a62542e4dcc47c337885c74704500b67c15d02d (patch)
tree164dac331f44d851000058632c00610afe37da40 /src/test
parent089447dd370314276531836e39afa2224eb8f6b8 (diff)
downloadkvision-4a62542e4dcc47c337885c74704500b67c15d02d.tar.gz
kvision-4a62542e4dcc47c337885c74704500b67c15d02d.tar.bz2
kvision-4a62542e4dcc47c337885c74704500b67c15d02d.zip
Change root "fluid" into "not fixed"
Diffstat (limited to 'src/test')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt
index bb6ed603..d8739a8b 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/core/RootSpec.kt
@@ -13,16 +13,16 @@ class RootSpec : DomSpec {
run {
Root("test")
val rootElem = document.getElementById("test")
- assertTrue("Standard root container has correct css class") { rootElem?.className == "container" }
+ assertTrue("Standard root container has correct css class") { rootElem?.className == "container-fluid" }
}
}
@Test
fun getSnClass_Fluid() {
run {
- Root("test", fluid = true)
+ Root("test", fixed = true)
val rootElem = document.getElementById("test")
- assertTrue("Fluid root container has correct css class") { rootElem?.className == "container-fluid" }
+ assertTrue("Fluid root container has correct css class") { rootElem?.className == "container" }
}
}