Fix the test of the new suite

This commit is contained in:
Pierre-Yves Gerardy 2016-09-11 17:13:12 +02:00
parent 4aaee178bc
commit a76bbc0d7a

View file

@ -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")
})
})