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