From f7b4e673cd809b3c8bbd116deb316ae1d60a6df9 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 18 Jan 2009 17:19:46 -0500 Subject: [PATCH] reloads is deprecated, not reload --- lib/webrat/core/session.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/webrat/core/session.rb b/lib/webrat/core/session.rb index 6a0ffe0..e0096fc 100644 --- a/lib/webrat/core/session.rb +++ b/lib/webrat/core/session.rb @@ -139,11 +139,11 @@ For example: # 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