Merge commit 'marcenuc/lh_107_request_parser_2_3_fix' into lh_107

This commit is contained in:
Bryan Helmkamp 2009-01-17 13:30:40 -05:00
commit 7f38666325

View File

@ -79,7 +79,11 @@ module Webrat
case Webrat.configuration.mode case Webrat.configuration.mode
when :rails when :rails
ActionController::AbstractRequest.parse_query_parameters("#{name}=#{escaped_value}") if defined?(ActionController::RequestParser)
ActionController::RequestParser.parse_query_parameters("#{name}=#{escaped_value}")
else
ActionController::AbstractRequest.parse_query_parameters("#{name}=#{escaped_value}")
end
when :merb when :merb
::Merb::Parse.query("#{name}=#{escaped_value}") ::Merb::Parse.query("#{name}=#{escaped_value}")
else else