diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-02-28 11:55:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 11:55:51 -0500 |
commit | e5fe81d29aabb5b2f32d26dea1d82a095e089587 (patch) | |
tree | aaffd834f7005e25c22f17ddd74a5d156c0bf2c4 /actionpack | |
parent | 90c275a453af36c01440d1afd9f0f15026b6ceda (diff) | |
parent | 3da239a2cd43d04c5f972fa8f8e57e64a139194c (diff) | |
download | rails-e5fe81d29aabb5b2f32d26dea1d82a095e089587.tar.gz rails-e5fe81d29aabb5b2f32d26dea1d82a095e089587.tar.bz2 rails-e5fe81d29aabb5b2f32d26dea1d82a095e089587.zip |
Merge pull request #28215 from y-yagi/take_failed_screenshot_before_reset_driver
Take failed screenshot before reset driver
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb b/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb index 491559eedf..1c89bfacfa 100644 --- a/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb +++ b/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb @@ -10,8 +10,8 @@ module ActionDispatch end def after_teardown - super take_failed_screenshot + super Capybara.reset_sessions! end end |