Sha256: 016528bf37edda2c7607dd7f7f7173019aeb60dec026c8af99e53384e516904f
Contents?: true
Size: 664 Bytes
Versions: 8
Compression:
Stored size: 664 Bytes
Contents
describe(rio.Id, { "that is reified": { "should immediately call anything passed in to doAfterReification": function() { var rioId = new rio.Id(25); rioId.doAfterReification(function(){}.shouldBeCalled()); } }, "that is not reified": { beforeEach: function() { this.rioId = new rio.Id(); }, "should not call anything passed into doAfterReification right away": function() { this.rioId.doAfterReification(function(){}.shouldNotBeCalled()); }, "should call whatever is passed into doAfterReification after reification": function() { this.rioId.doAfterReification(function(){}.shouldBeCalled()); this.rioId.reify(1234); } } });
Version data entries
8 entries across 8 versions & 1 rubygems