From 932017e665735822a19f065ef476aab453ec2896 Mon Sep 17 00:00:00 2001 From: Christopher Baker Date: Tue, 20 Jun 2017 14:28:15 -0700 Subject: [PATCH] fix boolean-to-inList test for edge15 --- test/boolean-to-inList_test.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/boolean-to-inList_test.js b/test/boolean-to-inList_test.js index abc10a2..f35da42 100644 --- a/test/boolean-to-inList_test.js +++ b/test/boolean-to-inList_test.js @@ -7,7 +7,11 @@ var each = require("can-util/js/each/each"); var QUnit = require("steal-qunit"); -QUnit.module("boolean-to-inList"); +QUnit.module("boolean-to-inList", { + setup: function(){ + this.fixture = document.getElementById('qunit-fixture'); + } +}); QUnit.test("Works with checkboxes", function(){ var template = stache(""); @@ -71,6 +75,8 @@ QUnit.test("works with radio buttons", function(){ var radioOne = frag.firstChild.firstChild; var radioTwo = radioOne.nextSibling; + this.fixture.appendChild(frag); + // Initial state QUnit.equal(radioOne.checked, false, "Matthew not checked"); QUnit.equal(radioTwo.checked, true, "Wilbur is checked"); @@ -81,4 +87,3 @@ QUnit.test("works with radio buttons", function(){ QUnit.equal(radioOne.checked, true, "Matthew is checked"); QUnit.equal(radioTwo.checked, false, "Wilbur is not checked"); }); -