Permalink
Browse files

Rename call to run

Call doesn't make as much sense here, we're really starting to run the
driver.
  • Loading branch information...
eileencodes committed Nov 12, 2016
1 parent 4540ceb commit 47491ddaa6292ddcbdfeefc7f049275729222b09
@@ -22,7 +22,7 @@ def driver
# When set, the driver will be initialized.
def driver=(driver)
@driver = DriverAdapters.lookup(driver)
- @driver.call
+ @driver.run
end
end
end
@@ -59,7 +59,7 @@ def initialize(name: :rack_test, server: :puma, port: 28100)
@port = port
end
- def call
+ def run
registration
setup
end
@@ -66,7 +66,7 @@ def initialize(browser: :chrome, server: :puma, port: 28100, screen_size: [ 1400
@screen_size = screen_size
end
- def call # :nodoc:
+ def run # :nodoc:
registration
setup
end

0 comments on commit 47491dd

Please sign in to comment.