Skip to content

Commit

Permalink
Fix test regression from PR 3289
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Feb 4, 2016
1 parent 95a5ade commit 5205d6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/unit/attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down

0 comments on commit 5205d6a

Please sign in to comment.