-test( "jQuery.ajax - multiple method signatures introduced in 1.5 ( #8107)", function() {
-
- expect( 4 );
-
- stop();
-
- jQuery.when(
- jQuery.ajax().success(function() { ok( true, 'With no arguments' ); }),
- jQuery.ajax('data/name.html').success(function() { ok( true, 'With only string URL argument' ); }),
- jQuery.ajax('data/name.html', {} ).success(function() { ok( true, 'With string URL param and map' ); }),
- jQuery.ajax({ url: 'data/name.html'} ).success(function() { ok( true, 'With only map' ); })
- ).then( start, start );
-
-});
-