Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
reloads is deprecated, not reload
Browse files Browse the repository at this point in the history
  • Loading branch information
brynary committed Jan 18, 2009
1 parent 9056255 commit f7b4e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webrat/core/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ def current_scope #:nodoc:

# Reloads the last page requested. Note that this will resubmit forms
# and their data.
def reloads
def reload
request_page(@current_url, @http_method, @data)
end

webrat_deprecate :reload, :reloads
webrat_deprecate :reloads, :reload


# Works like click_link, but only looks for the link text within a given selector
Expand Down

0 comments on commit f7b4e67

Please sign in to comment.