Fixup test
This commit is contained in:
parent
de0a8fc0cb
commit
74e763324b
|
@ -316,8 +316,8 @@ describe("Robot", function() {
|
||||||
expect(robot.work).to.be.called;
|
expect(robot.work).to.be.called;
|
||||||
});
|
});
|
||||||
|
|
||||||
it("emits the 'work' event", function() {
|
it("emits the 'ready' event", function() {
|
||||||
expect(robot.emit).to.be.calledWith("work")
|
expect(robot.emit).to.be.calledWith("ready", robot)
|
||||||
});
|
});
|
||||||
|
|
||||||
it("returns the robot", function() {
|
it("returns the robot", function() {
|
||||||
|
|
Loading…
Reference in New Issue