We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15fb5bb + 28ccf95 commit 2aac389Copy full SHA for 2aac389
lib/rspec/rails/example/system_example_group.rb
@@ -36,9 +36,8 @@ def passed?
36
def method_name
37
@method_name ||= [
38
self.class.name.underscore,
39
- RSpec.current_example.description.underscore,
40
- rand(1000)
41
- ].join("_").tr(CHARS_TO_TRANSLATE.join, "_")
+ RSpec.current_example.description.underscore
+ ].join("_").tr(CHARS_TO_TRANSLATE.join, "_")[0...251] + "_#{rand(1000)}"
42
end
43
44
# Delegates to `Rails.application`.
0 commit comments