instance method
unique
Ruby on Rails 7.1.6
Since v6.1.7.10 PrivateSignature
unique()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb, line 63
def unique
failed? ? "failures" : (_screenshot_counter || 0).to_s
end
Defined in actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb line 63
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::SystemTesting::TestHelpers::ScreenshotHelper