Permalink
Browse files

Merge pull request #31046 from NARKOZ/fix-capybara-webkit-deprecation

Fix Capybara::Webkit::Driver#resize_window deprecation warning
  • Loading branch information...
eileencodes committed Nov 4, 2017
2 parents 300dd48 + 3812353 commit 360698aa245b45349d1d1b12e1afb34759515e69
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/system_testing/driver.rb
@@ -59,7 +59,7 @@ def register_poltergeist(app)
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

0 comments on commit 360698a

Please sign in to comment.