diff options
author | eileencodes <eileencodes@gmail.com> | 2016-11-12 18:05:51 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-02-20 15:07:34 -0500 |
commit | 47491ddaa6292ddcbdfeefc7f049275729222b09 (patch) | |
tree | 7feaadfef391b87b748af02029b72e10cc717ac1 | |
parent | 4540cebf3ee6c0d2a7e64757460d05cff3bbffbf (diff) | |
download | rails-47491ddaa6292ddcbdfeefc7f049275729222b09.tar.gz rails-47491ddaa6292ddcbdfeefc7f049275729222b09.tar.bz2 rails-47491ddaa6292ddcbdfeefc7f049275729222b09.zip |
Rename call to run
Call doesn't make as much sense here, we're really starting to run the
driver.
3 files changed, 3 insertions, 3 deletions
diff --git a/actionsystemtest/lib/action_system_test/driver_adapter.rb b/actionsystemtest/lib/action_system_test/driver_adapter.rb index 3a0ab0763a..5b5a9d8103 100644 --- a/actionsystemtest/lib/action_system_test/driver_adapter.rb +++ b/actionsystemtest/lib/action_system_test/driver_adapter.rb @@ -22,7 +22,7 @@ module ActionSystemTest # When set, the driver will be initialized. def driver=(driver) @driver = DriverAdapters.lookup(driver) - @driver.call + @driver.run end end end diff --git a/actionsystemtest/lib/action_system_test/driver_adapters/capybara_driver.rb b/actionsystemtest/lib/action_system_test/driver_adapters/capybara_driver.rb index c1b395f712..88c07ad792 100644 --- a/actionsystemtest/lib/action_system_test/driver_adapters/capybara_driver.rb +++ b/actionsystemtest/lib/action_system_test/driver_adapters/capybara_driver.rb @@ -59,7 +59,7 @@ module ActionSystemTest @port = port end - def call + def run registration setup end diff --git a/actionsystemtest/lib/action_system_test/driver_adapters/rails_selenium_driver.rb b/actionsystemtest/lib/action_system_test/driver_adapters/rails_selenium_driver.rb index 543b14a029..4c606d2c06 100644 --- a/actionsystemtest/lib/action_system_test/driver_adapters/rails_selenium_driver.rb +++ b/actionsystemtest/lib/action_system_test/driver_adapters/rails_selenium_driver.rb @@ -66,7 +66,7 @@ module ActionSystemTest @screen_size = screen_size end - def call # :nodoc: + def run # :nodoc: registration setup end |