update components

This commit is contained in:
Luke Pulverenti 2016-04-02 12:15:48 -04:00
parent cc555065f7
commit c3fd6c022f
54 changed files with 296 additions and 87 deletions

View file

@ -206,13 +206,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.equal(callCount, 0, 'iron-resize should not be called');
});
test('open overlay triggers iron-resize when its content changes', function() {
test('open overlay triggers iron-resize when its content changes', function(done) {
runAfterOpen(overlay, function() {
var spy = sinon.stub();
overlay.addEventListener('iron-resize', spy);
Polymer.dom(overlay).appendChild(document.createElement('div'));
Polymer.dom.flush();
assert.equal(spy.callCount, 1, 'iron-resize should be called once');
done();
});
});