aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/system_testing/test_helpers.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-10-02 15:22:27 -0400
committereileencodes <eileencodes@gmail.com>2017-02-20 15:07:33 -0500
commite9127f7aa082986952ffcc8331b675a3a99c3a83 (patch)
tree2d9445eb4693b8b0dccd29155581e2364ba174e1 /actionpack/lib/system_testing/test_helpers.rb
parentf482eddbeff9fe3d0dc6cdaa9a4b53df839f667c (diff)
downloadrails-e9127f7aa082986952ffcc8331b675a3a99c3a83.tar.gz
rails-e9127f7aa082986952ffcc8331b675a3a99c3a83.tar.bz2
rails-e9127f7aa082986952ffcc8331b675a3a99c3a83.zip
Add support for screenshots
This change adds support, tests, and documentation for the screenshot helper. If taking screenshots is supported by the driver (for example Rack Test doesn't support screenshots) then a screenshot will be taken if the test fails.
Diffstat (limited to 'actionpack/lib/system_testing/test_helpers.rb')
-rw-r--r--actionpack/lib/system_testing/test_helpers.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/system_testing/test_helpers.rb b/actionpack/lib/system_testing/test_helpers.rb
index 074a45d5c8..3c528a6953 100644
--- a/actionpack/lib/system_testing/test_helpers.rb
+++ b/actionpack/lib/system_testing/test_helpers.rb
@@ -2,7 +2,8 @@ module SystemTesting
module TestHelpers
extend ActiveSupport::Autoload
- autoload :FormHelper
autoload :Assertions
+ autoload :FormHelper
+ autoload :ScreenshotHelper
end
end