rubocop-rspec
rubocop-rspec copied to clipboard
Example Has Too Many Lines With `aggregate_failures`
I am trying to use RSpec aggregate_failures to speed up my specs, but rubocop-rspec
complains that my example now has too many lines because I have 8 expectations. Is this desired behavior?
Thanks for reporting.
This is somehow related to https://github.com/rubocop/rubocop-rspec/issues/379
I suggest adding IgnoreChained
or MaxChained
option to the cop.
A PR is welcome.
Closing as a duplicate. It’s unclear what cop was triggered. If that was the number if lines - just needs to be adjusted.