Skip to content

Commit

Permalink
Update RSpec ExampleLength CountAsOne config to include method calls (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jivdhaliwal authored Feb 5, 2024
1 parent 093e1c8 commit af7712e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ RSpec/LeadingSubject:
Exclude:
- spec/support

# Allow arrays and hashes to be counted as one line in examples
# Allow arrays, hashes, and method calls to be counted as one line in examples
RSpec/ExampleLength:
CountAsOne: ["array", "hash"]
CountAsOne: ["array", "hash", "method_call"]

# Because 5 is a bit mean
RSpec/MultipleMemoizedHelpers:
Expand Down

0 comments on commit af7712e

Please sign in to comment.