summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--features/step_definitions/browser.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/step_definitions/browser.rb b/features/step_definitions/browser.rb
index 6235b07..cbf58ed 100644
--- a/features/step_definitions/browser.rb
+++ b/features/step_definitions/browser.rb
@@ -113,12 +113,12 @@ When /^I open the address "([^"]*)" in the (.*)$/ do |address, browser|
open_address.call
end
if browser == "Tor Browser"
- retry_method = method(:try_tor)
+ try_method = method(:try_tor)
else
- retry_method = Proc.new { |p, &b| try(attempts: 10, recovery_proc: p, &b) }
+ try_method = Proc.new { |p, &b| try(attempts: 10, recovery_proc: p, &b) }
end
open_address.call
- retry_method.call(recovery_on_failure) do
+ try_method.call(recovery_on_failure) do
@screen.waitVanish(info[:browser_stop_button_image], 120)
@screen.wait(info[:browser_reload_button_image], 120)
end