From a76bbc0d7afe1136b8768ef0aadc57024fa88d55 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Gerardy Date: Sun, 11 Sep 2016 17:13:12 +0200 Subject: [PATCH] Fix the test of the new suite --- test/mithril.withAttr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }) })