From 852720bc85ff4df4b6ac13db1e6f731c7cba0254 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 30 Nov 2012 07:21:29 -0800 Subject: [PATCH] Fix spec --- test/spec/Inspector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/spec/Inspector.js b/test/spec/Inspector.js index a12a51ca6..252107f23 100644 --- a/test/spec/Inspector.js +++ b/test/spec/Inspector.js @@ -23,13 +23,13 @@ describe("Inspector", function () { expect(spy).toHaveBeenCalledWith(entity); }); - it("emits a change event when the save button is clicked", function () { + it("emits a changeTags event when the save button is clicked", function () { var spy = jasmine.createSpy(); - inspector.on('change', spy); + inspector.on('changeTags', spy); happen.click(element.select('.save').node()); - expect(spy).toHaveBeenCalledWith(entity, { '': '' }); + expect(spy).toHaveBeenCalledWith(entity, {}); }); it("emits a remove event when the delete button is clicked", function () {