| Index: sky/tests/framework/templates.sky
|
| diff --git a/sky/tests/framework/templates.sky b/sky/tests/framework/templates.sky
|
| index 30e119fc41245eef95441152d2515a3c1a8106b2..040a9e41ab13b6d160fecb5fb9059a9b5acb27c5 100644
|
| --- a/sky/tests/framework/templates.sky
|
| +++ b/sky/tests/framework/templates.sky
|
| @@ -24,6 +24,14 @@ describe("SkyElement templates", function() {
|
| assert.ok(element.shadowRoot.getElementById("inside"));
|
| });
|
|
|
| + it("should update isAttached when inserting", function() {
|
| + assert.isFalse(element.isAttached);
|
| + sandbox.appendChild(element);
|
| + assert.isTrue(element.isAttached);
|
| + element.remove();
|
| + assert.isFalse(element.isAttached);
|
| + });
|
| +
|
| it("should connect data binding", function(done) {
|
| sandbox.appendChild(element);
|
| var inside = element.shadowRoot.getElementById("inside");
|
|
|