diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2018-04-04 13:29:50 -0400 |
---|---|---|
committer | Eileen Uchitelle <eileencodes@gmail.com> | 2019-01-29 08:50:29 -0500 |
commit | 5936bd9a201a2c1a3730d9c857f0908959505d2b (patch) | |
tree | a32f4e8b1e7876f4a356eabb462cd718bed483b6 /actionpack/lib/action_dispatch/system_testing/browser.rb | |
parent | 01a26e581f977b08de072ce3c40b9adee2ba1c10 (diff) | |
download | rails-5936bd9a201a2c1a3730d9c857f0908959505d2b.tar.gz rails-5936bd9a201a2c1a3730d9c857f0908959505d2b.tar.bz2 rails-5936bd9a201a2c1a3730d9c857f0908959505d2b.zip |
driver_option -> driver_options
Diffstat (limited to 'actionpack/lib/action_dispatch/system_testing/browser.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/browser.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/browser.rb b/actionpack/lib/action_dispatch/system_testing/browser.rb index 9361b165ff..74585062aa 100644 --- a/actionpack/lib/action_dispatch/system_testing/browser.rb +++ b/actionpack/lib/action_dispatch/system_testing/browser.rb @@ -29,7 +29,7 @@ module ActionDispatch end end - def driver_option + def driver_options @option ||= case type when :chrome Selenium::WebDriver::Chrome::Options.new @@ -43,13 +43,13 @@ module ActionDispatch driver_option.args << "--headless" driver_option.args << "--disable-gpu" if Gem.win_platform? - driver_option + driver_options end def headless_firefox_browser_options - driver_option.args << "-headless" + driver_options.args << "-headless" - driver_option + driver_options end end end |