diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-23 13:18:22 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-23 13:18:22 +0100 |
commit | 6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28 (patch) | |
tree | 748c8cd99c49821d9f0318d27fe08730b8a5d02f /src/test | |
parent | 5f8790e7127df07a17f51e5641be66b7654dbb33 (diff) | |
download | kvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.tar.gz kvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.tar.bz2 kvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.zip |
Small fixes for links in dropdowns.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt index a04b25b0..9aa088fd 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt @@ -109,7 +109,7 @@ class DropDownSpec : DomSpec { val element = document.getElementById("test") val id = dd.button.id assertEqualsHtml( - "<div class=\"dropdown open\"><button class=\"dropdown btn btn-default\" id=\"$id\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" role=\"button\" href=\"#\"><span class=\"glyphicon glyphicon-flag\"></span> Dropdown</button><ul class=\"dropdown-menu\" aria-labelledby=\"$id\" aria-expanded=\"true\"><li class=\"disabled\"><a href=\"javascript:void(0)\">abc</a></li></ul></div>", + "<div class=\"dropdown open\"><button class=\"dropdown btn btn-default\" id=\"$id\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" role=\"button\" href=\"#\"><span class=\"glyphicon glyphicon-flag\"></span> Dropdown</button><ul class=\"dropdown-menu\" aria-labelledby=\"$id\" aria-expanded=\"true\"><li class=\"disabled\"><a>abc</a></li></ul></div>", element?.innerHTML, "Should render correct drop down" ) |