aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt
index f30872ca..f897ceba 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/html/CanvasSpec.kt
@@ -32,7 +32,7 @@ class CanvasSpec : DomSpec {
@Test
fun render() {
run {
- val root = Root("test", fixed = true)
+ val root = Root("test", containerType = pl.treksoft.kvision.panel.ContainerType.FIXED)
val canvas = Canvas(800, 600)
root.add(canvas)
val element = document.getElementById("test")