diff options
author | Vipul A M <vipulnsward@gmail.com> | 2019-05-08 12:29:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 12:29:36 -0400 |
commit | 75c13b5d89b36472c51d84a1d00a9d79b1dd16dd (patch) | |
tree | be6f2c5466ee999c1cfad92c50e22b0279c38bc6 /guides/source | |
parent | 28aca474d48b6acdbe8c7861d9347e27c65fafd9 (diff) | |
parent | 87833300340410b1225c4d79ba378198a859c62b (diff) | |
download | rails-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]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/testing.md | 2 |
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 |