reloads is deprecated, not reload

This commit is contained in:
Bryan Helmkamp 2009-01-18 17:19:46 -05:00
parent 9056255abe
commit f7b4e673cd
1 changed files with 2 additions and 2 deletions

View File

@ -139,11 +139,11 @@ For example:
# Reloads the last page requested. Note that this will resubmit forms # Reloads the last page requested. Note that this will resubmit forms
# and their data. # and their data.
def reloads def reload
request_page(@current_url, @http_method, @data) request_page(@current_url, @http_method, @data)
end end
webrat_deprecate :reload, :reloads webrat_deprecate :reloads, :reload
# Works like click_link, but only looks for the link text within a given selector # Works like click_link, but only looks for the link text within a given selector