aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/system_testing/test_helpers
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2017-02-20 14:38:46 -0500
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:35 -0500
commit2d61c5d846f8dd3a02080fedce7ab63b8d314db6 (patch)
tree0b534cf1fc2f9996fac26392cc0f673e904ac65c /actionpack/lib/action_dispatch/system_testing/test_helpers
parent161cf89e134267f9b579f493ca19b12c30d5fd36 (diff)
downloadrails-2d61c5d846f8dd3a02080fedce7ab63b8d314db6.tar.gz
rails-2d61c5d846f8dd3a02080fedce7ab63b8d314db6.tar.bz2
rails-2d61c5d846f8dd3a02080fedce7ab63b8d314db6.zip
Rename system_test_helper -> application_system_test_case
This renames the system test helper file to be application system test case to match what the rest of Rails does. In the future we should consider changing the test_helper to match.
Diffstat (limited to 'actionpack/lib/action_dispatch/system_testing/test_helpers')
-rw-r--r--actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb6
1 files changed, 3 insertions, 3 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 ab14910b41..784005cb93 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
@@ -17,9 +17,9 @@ module ActionDispatch
# Takes a screenshot of the current page in the browser if the test
# failed.
#
- # +take_failed_screenshot+ is included in <tt>system_test_helper.rb</tt> that is
- # generated with the application. To take screenshots when a test fails
- # add +take_failed_screenshot+ to the teardown block before clearing
+ # +take_failed_screenshot+ is included in <tt>application_system_test_case.rb</tt>
+ # that is generated with the application. To take screenshots when a test
+ # fails add +take_failed_screenshot+ to the teardown block before clearing
# sessions.
def take_failed_screenshot
take_screenshot unless passed?