method
image_name
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper
image_name()private
No documentation available.
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 64
def image_name
sanitized_method_name = method_name.tr("/\\", "--")
name = "#{unique}_#{sanitized_method_name}"
name[0...225]
end