Skip to content
Permalink
Browse files

Enforce expects in events.js (jquery/2012-dev-summit#53) Closes gh-961

  • Loading branch information...
james-huston authored and rwaldron committed Oct 15, 2012
1 parent 57aa797 commit 6ac87167893e1de24761eaff47bbf9a20d0d6f98
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/unit/event.js
@@ -420,6 +420,8 @@ test("bind/delegate bubbling, isDefaultPrevented", function() {
});

test("bind(), iframes", function() {
expect( 1 );

// events don't work with iframes, see #939 - this test fails in IE because of contentDocument
var doc = jQuery("#loadediframe").contents();

@@ -2511,6 +2513,8 @@ test("delegate with change", function(){
});

test("delegate with submit", function() {
expect( 2 );

var count1 = 0, count2 = 0;

jQuery("#body").delegate("#testForm", "submit", function(ev) {

1 comment on commit 6ac8716

@mikesherov

This comment has been minimized.

Copy link
Member

commented on 6ac8716 Oct 15, 2012

👏 👏 👏 👏

Please sign in to comment.
You can’t perform that action at this time.