method
image_name
v7.1.3.2 -
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 67
def image_name
sanitized_method_name = method_name.gsub(/[^\w]+/, "-")
name = "#{unique}_#{sanitized_method_name}"
name[0...225]
end