From 4b286f190866d0538f50556a3b11b1fc1f003789 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Fri, 20 Jan 2017 17:23:38 -0800 Subject: [PATCH] Test Polymer.Settings inside test. --- test/unit/bind.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/bind.html b/test/unit/bind.html index 0129a07256..d17821a560 100644 --- a/test/unit/bind.html +++ b/test/unit/bind.html @@ -505,16 +505,16 @@ assert.equal(el.boundreadonlyvalue, 46, 'property bound to read-only property should change from change to bound value'); }); - if (!Polymer.Settings.suppressBindingNotifications) { - test('listener for value-changed fires when value changed from host', function() { + test('listener for value-changed fires when value changed from host', function() { + if (!Polymer.Settings.suppressBindingNotifications) { var listener = sinon.spy(); el.$.basic1.addEventListener('notifyingvalue-changed', listener); el.boundnotifyingvalue = 678; assert.equal(el.$.basic1.notifyingvalue, 678); assert.isTrue(listener.calledOnce); assert.equal(listener.getCalls()[0].args[0].detail.value, 678); - }); - } + } + }); test('negated binding update negates value for parent', function() { assert.equal(el.negatedValue, false);