Fix broken test
This commit is contained in:
parent
38bf5fdfed
commit
8da2a17929
|
@ -146,7 +146,7 @@ describe('Basestar', function() {
|
|||
basestar.on('testevent', eventSpy);
|
||||
basestar.defineDriverEvent({ eventName: "testevent" });
|
||||
|
||||
basestar.adaptor.emit("testevent", "data");
|
||||
basestar.connection.emit("testevent", "data");
|
||||
assert(eventSpy.calledWith('data'));
|
||||
});
|
||||
|
||||
|
@ -157,7 +157,7 @@ describe('Basestar', function() {
|
|||
basestar.on('testevent', eventSpy);
|
||||
basestar.defineDriverEvent("testevent");
|
||||
|
||||
basestar.adaptor.emit("testevent", "data");
|
||||
basestar.connection.emit("testevent", "data");
|
||||
assert(eventSpy.calledWith('data'));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue