100% test coverage

This commit is contained in:
Manuel Araoz 2015-02-20 18:33:12 -03:00
parent 7377b34cec
commit e077488a79

View File

@ -48,7 +48,7 @@ describe('EventBus', function() {
bus.register(FooEvent, function(e) {
var b = new BarEvent();
b.y = e.x;
return [b];
return b;
});
bus.register(BarEvent, function(e) {
e.y.should.equal(foo.x);