aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2019-05-08 12:29:36 -0400
committerGitHub <noreply@github.com>2019-05-08 12:29:36 -0400
commit75c13b5d89b36472c51d84a1d00a9d79b1dd16dd (patch)
treebe6f2c5466ee999c1cfad92c50e22b0279c38bc6
parent28aca474d48b6acdbe8c7861d9347e27c65fafd9 (diff)
parent87833300340410b1225c4d79ba378198a859c62b (diff)
downloadrails-75c13b5d89b36472c51d84a1d00a9d79b1dd16dd.tar.gz
rails-75c13b5d89b36472c51d84a1d00a9d79b1dd16dd.tar.bz2
rails-75c13b5d89b36472c51d84a1d00a9d79b1dd16dd.zip
Merge pull request #36215 from rmacklin/update-testing-guide
Update testing guide to reflect changes from #36047 [ci skip]
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 18eecf49fa..9540bb2af5 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -781,7 +781,7 @@ This can be helpful for viewing the browser at the point a test failed, or
to view screenshots later for debugging.
Two methods are provided: `take_screenshot` and `take_failed_screenshot`.
-`take_failed_screenshot` is automatically included in `after_teardown` inside
+`take_failed_screenshot` is automatically included in `before_teardown` inside
Rails.
The `take_screenshot` helper method can be included anywhere in your tests to