lib/rubocop/cop/rspec/multiple_memoized_helpers.rb in rubocop-rspec-3.0.2 vs lib/rubocop/cop/rspec/multiple_memoized_helpers.rb in rubocop-rspec-3.0.3
- old
+ new
@@ -80,13 +80,14 @@
# let(:foo) { [] }
# let(:bar) { [] }
# end
#
class MultipleMemoizedHelpers < Base
- include ConfigurableMax
include Variable
MSG = 'Example group has too many memoized helpers [%<count>d/%<max>d]'
+
+ exclude_limit 'Max'
def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
return unless spec_group?(node)
count = all_helpers(node).uniq.count