Permalink
Browse files

Fixed up blank form action test. Kept jquery 1.6.2 as default until

1.6.3 is fixed.
  • Loading branch information...
JangoSteve committed Sep 4, 2011
1 parent 840ab6a commit dd9384f6332d450721354dbab6f959d961b06bc9
Showing with 2 additions and 1 deletion.
  1. +1 −0 test/public/test/call-remote.js
  2. +1 −1 test/server.rb
@@ -96,6 +96,7 @@ asyncTest('allow empty form "action"', 1, function() {
currentLocation.href = "";
currentLocation = currentLocation.href;
}
+ currentLocation = currentLocation.replace(/\?$/, '');
// Actual location (strip out settings.data that jQuery serializes and appends)
ajaxLocation = settings.url.replace(settings.data,"").replace(/&$/, "").replace(/\?$/, "");
View
@@ -48,7 +48,7 @@ def jquery_versions
end
get '/' do
- params[:version] ||= JQUERY_VERSIONS.last
+ params[:version] ||= '1.6.2'
params[:cdn] ||= 'jquery'
erb :index
end

0 comments on commit dd9384f

Please sign in to comment.