angular.js/test
Igor Minar 263f47819f test(form): fix broken preventDefault test
the original test relied on incorrect assumptions about how jasmine async
tests work (when setTimeout is triggered) and how browser reloads a page
(the sequence of events) and thus the test passes even when the default
is not prevented.

this change fixes the test by registering an extra submit event handler
that checks if the default was prevented.

if the default was not prevented, the test will fail and the page will
be reloaded causing the test runner to panic.
2012-08-10 14:20:52 -07:00
..
auto feat($injector): provide API for retrieving function annotations 2012-06-01 10:57:51 -07:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng test(form): fix broken preventDefault test 2012-08-10 14:20:52 -07:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock fix($defer): remove deprecated $defer service 2012-06-12 01:09:07 -07:00
ngResource feat($resource): support HTTP PATCH method 2012-04-20 12:32:33 -07:00
ngSanitize chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module 2012-04-11 15:50:47 -07:00
ngScenario fix(e2eRunner): $browser.location should delegate to apps $location 2012-04-12 02:36:03 -07:00
AngularSpec.js fix(startingTag): make tag name always lowercase 2012-06-08 15:27:04 -07:00
ApiSpecs.js fix(ng:repeat): support repeating over array with null 2012-01-06 12:19:39 -08:00
BinderSpec.js feat(ngModel): update model on each key stroke (revert ngModelInstant) 2012-04-03 10:10:44 -07:00
jqLiteSpec.js fix(jqLite): .data()/.bind() memory leak 2012-05-14 21:56:22 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js fix(matchers.toHaveClass): Correct reference to angular.mock.dump 2012-03-19 17:26:29 -07:00
testabilityPatch.js fix(jqLite): have same expando format as jQuery 2012-05-17 10:36:45 -07:00