diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-09-12 15:52:23 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-09-12 15:52:23 -0500 |
commit | e12746d756ef32124b163136fe49e753b35c7111 (patch) | |
tree | f00ee9b11302f84b2e58990f60d1b4441b43bdfb | |
parent | 68213f20bb5d5426f99bafde028ecab601a9d105 (diff) | |
download | jquery-e12746d756ef32124b163136fe49e753b35c7111.tar.gz jquery-e12746d756ef32124b163136fe49e753b35c7111.zip |
Small adjustment to prefilter test. Follow the right path for prefixes.
-rw-r--r-- | test/unit/ajax.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 0ad86e0d5..da1f2ce38 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1525,9 +1525,10 @@ module( "ajax", { //----------- jQuery.ajaxPrefilter() ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, { + dataType: "prefix", setup: function() { // Ensure prefix does not throw an error - jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) { + jQuery.ajaxPrefilter("+prefix", function( options, _, jqXHR ) { if ( options.abortInPrefilter ) { jqXHR.abort(); } |