This commit is contained in:
John Firebaugh
2013-01-18 15:21:27 -08:00
parent 3d98fdd0c5
commit 60493b0051
+2 -2
View File
@@ -57,11 +57,11 @@ describe("iD.ui.inspector", function () {
expect(inspector.tags()).to.eql({});
});
it("emits a close event when the close button is clicked", function () {
it("emits a close event when the apply button is clicked", function () {
var spy = sinon.spy();
inspector.on('close', spy);
element.select('.close').trigger('click');
element.select('.apply').trigger('click');
expect(spy).to.have.been.calledWith(entity);
});