diff --git a/test/mithril.withAttr.js b/test/mithril.withAttr.js index 28be8efc..aae26656 100644 --- a/test/mithril.withAttr.js +++ b/test/mithril.withAttr.js @@ -12,6 +12,6 @@ describe("m.withAttr()", function () { var spy = sinon.spy() var object = {} m.withAttr("test", spy, object)({currentTarget: {test: "foo"}}) - expect(spy).to.be.calledOn(object).and.calledWith("Bfoo") + expect(spy).to.be.calledOn(object).and.calledWith("foo") }) })