Fixup test

This commit is contained in:
Andrew Stewart 2014-09-29 10:27:52 -07:00
parent de0a8fc0cb
commit 74e763324b
1 changed files with 2 additions and 2 deletions

View File

@ -316,8 +316,8 @@ describe("Robot", function() {
expect(robot.work).to.be.called;
});
it("emits the 'work' event", function() {
expect(robot.emit).to.be.calledWith("work")
it("emits the 'ready' event", function() {
expect(robot.emit).to.be.calledWith("ready", robot)
});
it("returns the robot", function() {