Fix the test of the new suite
This commit is contained in:
parent
4aaee178bc
commit
a76bbc0d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue