From e12746d756ef32124b163136fe49e753b35c7111 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 12 Sep 2013 15:52:23 -0500 Subject: [PATCH] Small adjustment to prefilter test. Follow the right path for prefixes. --- test/unit/ajax.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }