equal
deleted
inserted
replaced
28 widget.draw(); |
28 widget.draw(); |
29 |
29 |
30 equal(widget.selector.children(".Ldt-arrowWidget").length, 1, "test if the div has been added correctly"); |
30 equal(widget.selector.children(".Ldt-arrowWidget").length, 1, "test if the div has been added correctly"); |
31 |
31 |
32 widget._Popcorn.trigger("IriSP.SegmentsWidget.segmentClick", 40); |
32 widget._Popcorn.trigger("IriSP.SegmentsWidget.segmentClick", 40); |
33 equal(widget.selector.children(".Ldt-arrowWidget").css("left"), "40%", "test if the widget responds correctly to messages."); |
33 equal(widget.selector.children(".Ldt-arrowWidget").css("left"), "22%", "test if the widget responds correctly to messages."); |
34 }); |
34 }); |
35 }; |
35 }; |