Sha256: 0a5f25bda66649b04904aebd6414bdceff96f87c3b1cf67bf463a68fdcf07cd9
Contents?: true
Size: 570 Bytes
Versions: 5
Compression:
Stored size: 570 Bytes
Contents
describe 'Collection Event Bindings', -> view = Luca.register("Luca.components.CollectionBindingView") view.extends "Luca.View" view.mixesIn "CollectionEventBindings" view.defines collection: new Luca.Collection() xit "should allow me to bind to collection manager events" it "should setup event relaying from the collection", -> view = new Luca.components.CollectionBindingView() for eventId in ["reset","add","remove","change"] view.collection.trigger(eventId) expect( view ).toHaveTriggered("collection:#{ eventId }")
Version data entries
5 entries across 5 versions & 1 rubygems