diff options
author | eileencodes <eileencodes@gmail.com> | 2017-03-09 11:03:33 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2017-03-09 11:03:33 -0500 |
commit | 17c65342469f211f4a845073e47bf1dfa13ba259 (patch) | |
tree | 649265a1a13d65419fa9db104ed1e1cd71e84f4e /actionpack/lib/action_dispatch/system_testing/test_helpers | |
parent | 37770bc8d13c5c7af024e66539c79f966718aec0 (diff) | |
parent | 7c9af60e5c26941dc9ec6a263f5fc5fe10050cba (diff) | |
download | rails-17c65342469f211f4a845073e47bf1dfa13ba259.tar.gz rails-17c65342469f211f4a845073e47bf1dfa13ba259.tar.bz2 rails-17c65342469f211f4a845073e47bf1dfa13ba259.zip |
Merge branch 'refactor-system-test-driver'
Diffstat (limited to 'actionpack/lib/action_dispatch/system_testing/test_helpers')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb b/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb index e37f6d02aa..6de8fb74dc 100644 --- a/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +++ b/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb @@ -57,7 +57,7 @@ module ActionDispatch end def supports_screenshot? - page.driver.public_methods(false).include?(:save_screenshot) + Capybara.current_driver != :rack_test end end end |