From 5205d6ab1f5dcae184f4e3b075718ac5f0ec24d4 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 4 Feb 2016 10:30:56 -0800 Subject: [PATCH] Fix test regression from PR 3289 --- test/unit/attributes.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/attributes.html b/test/unit/attributes.html index 76d4bd7685..66e45fbace 100644 --- a/test/unit/attributes.html +++ b/test/unit/attributes.html @@ -283,7 +283,11 @@ // applied to property with effect assert.strictEqual(compose.$.basic.prop, 'compose'); assert.equal(compose.$.basic.propChangedCount, 1); - assert.equal(compose.$.basic.attr1ChangedCount, 1); + // Note: Attribute binding does not participate in efficient configuration + // per #3288. As such, a property bound with an attribute binding will + // see its default value first, then be overwritten when the attribute + // binding runs and re-deserializes to the property, hence 2 observer calls + assert.equal(compose.$.basic.attr1ChangedCount, 2); assert.equal(compose.prop2, 'hi'); });