this.subject(); component.set('name', 'red'); andThen(function() { // first call to $() renders the component. assert.equal(this.$().attr('style'), 'color: red;'); component.set('name', 'green'); }); andThen(function() { assert.equal(this.$().attr('style'), 'color: green;'); }); });