We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation for RSpec/ExampleLength, implemented in example_length.rb, mentions three available values for CountAsOne
example_length.rb
CountAsOne
You can set literals you want to fold with CountAsOne. Available are: 'array', 'hash', and 'heredoc'.
But since the implementation shares code from Rspec CodeLength, it seems to be possible to use the undocumented method_call too.
CodeLength
method_call
The option method_call is documented in Metrics/MethodLength.
The text was updated successfully, but these errors were encountered:
Add documentation for RSpec/ExampleLength configuration option `Cou…
RSpec/ExampleLength
0529272
…ntAsOne: [method_call]` Fix: #1728
CountAsOne: [method_call]
11e9bc6
2d2e8a3
…ntAsOne: [method_call]` Fix: rubocop/rubocop-rspec#1728
c05cd2b
Successfully merging a pull request may close this issue.
The documentation for RSpec/ExampleLength, implemented in
example_length.rb
, mentions three available values forCountAsOne
But since the implementation shares code from Rspec
CodeLength
, it seems to be possible to use the undocumentedmethod_call
too.The option
method_call
is documented in Metrics/MethodLength.The text was updated successfully, but these errors were encountered: