Update test for UI tweaks

This commit is contained in:
Tom MacWright
2012-12-08 00:02:36 -05:00
parent a405e4e059
commit 6b257d0d85

View File

@@ -23,11 +23,11 @@ describe("Inspector", function () {
expect(spy).to.have.been.calledWith(entity);
});
it("emits a changeTags event when the save button is clicked", function () {
it("emits a changeTags event when the apply button is clicked", function () {
var spy = sinon.spy();
inspector.on('changeTags', spy);
happen.click(element.select('.save').node());
happen.click(element.select('.apply').node());
expect(spy).to.have.been.calledWith(entity, {});
});