Skip to content

Commit

Permalink
removed form submit test.. its causing trouble where it shouldn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwejrowski committed Jun 13, 2012
1 parent 0f31069 commit 1e4f8b5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test.core.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -509,21 +509,6 @@ test("editing items", function(){


}); });


module('simpleCart UI updates');
test("form submit works properly",function(){
var form = simpleCart.$create("form");
window.formSubmittedProperly = false;
form.attr('style', 'display:none;');
form.attr('action', 'javascript:;');
form.attr('onsubmit','formSubmittedProperly=true;')
form.attr('method', "GET");
simpleCart.$("body").append(form);
form.submit();
form.remove();

ok( window.formSubmittedProperly , "form submitted properly" );
});

test("basic outlets work", function(){ test("basic outlets work", function(){


var item = simpleCart.add({ var item = simpleCart.add({
Expand Down

0 comments on commit 1e4f8b5

Please sign in to comment.