aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/support/validate_html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/validate_html.rb b/spec/support/validate_html.rb
index 09c415936..93031ef46 100644
--- a/spec/support/validate_html.rb
+++ b/spec/support/validate_html.rb
@@ -38,7 +38,7 @@ if $tempfilecount.nil?
alias :original_process :process
def is_fragment
# XXX there must be a better way of doing this!
- return @request.query_parameters["action"] == "search_typeahead"
+ return @request.path_parameters["action"] == "search_typeahead"
end
def process(action, parameters = nil, session = nil, flash = nil, http_method = 'GET')
self.original_process(action, parameters, session, flash, http_method)