aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpack.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-07-01 15:34:20 -0500
committerMisty De Meo2013-07-01 15:35:13 -0500
commit2e2e6323eba9cedf3070b6b193e0bbdd364f3827 (patch)
treea9d10cb695a5654cd4ca038aba236a7368fdd7c3 /Library/Formula/mpack.rb
parentfddd353a613ab36955e836fedc2042d1460d2de7 (diff)
downloadhomebrew-2e2e6323eba9cedf3070b6b193e0bbdd364f3827.tar.bz2
libstfl: Don't build against ruby 2.0+
Fixes mistydemeo/tigerbrew#83.
Diffstat (limited to 'Library/Formula/mpack.rb')
0 files changed, 0 insertions, 0 deletions
roy'); spy1 = jasmine.createSpy('span1.$destroy'); spy2 = jasmine.createSpy('span2.$destroy'); doc = $('<div><span class=first>abc</span><span class=second>xyz</span></div>'); doc.find('span.first').bind('$destroy', spy1); doc.find('span.second').bind('$destroy', spy2); }); afterEach(function() { expect(divSpy).not.toHaveBeenCalled(); expect(spy1).toHaveBeenCalled(); expect(spy1.callCount).toEqual(1); expect(spy2).toHaveBeenCalled(); expect(spy2.callCount).toEqual(1); }); describe('$detach event', function() { it('should fire on detach()', function() { doc.find('span').detach(); }); it('should fire on remove()', function() { doc.find('span').remove(); }); it('should fire on replaceWith()', function() { doc.find('span').replaceWith('<b>bla</b>'); }); it('should fire on replaceAll()', function() { $('<b>bla</b>').replaceAll(doc.find('span')); }); it('should fire on empty()', function() { doc.empty(); }); it('should fire on html()', function() { doc.html('abc'); }); }); }); }