diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-11-04 14:22:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 14:22:21 -0400 |
commit | 360698aa245b45349d1d1b12e1afb34759515e69 (patch) | |
tree | 74b582ca9f8c73fdb3148bd87021d0fa465b53ab /actionpack | |
parent | 300dd48df85d9a65a51dddb692b647fc1d8d1588 (diff) | |
parent | 3812353845fa91bb500691aced10533730c07801 (diff) | |
download | rails-360698aa245b45349d1d1b12e1afb34759515e69.tar.gz rails-360698aa245b45349d1d1b12e1afb34759515e69.tar.bz2 rails-360698aa245b45349d1d1b12e1afb34759515e69.zip |
Merge pull request #31046 from NARKOZ/fix-capybara-webkit-deprecation
Fix Capybara::Webkit::Driver#resize_window deprecation warning
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/driver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/driver.rb b/actionpack/lib/action_dispatch/system_testing/driver.rb index 770fbde74e..7577d3e68a 100644 --- a/actionpack/lib/action_dispatch/system_testing/driver.rb +++ b/actionpack/lib/action_dispatch/system_testing/driver.rb @@ -59,7 +59,7 @@ module ActionDispatch def register_webkit(app) Capybara::Webkit::Driver.new(app, Capybara::Webkit::Configuration.to_hash.merge(@options)).tap do |driver| - driver.resize_window(*@screen_size) + driver.resize_window_to(*@screen_size) end end |