lib/rubocop/cop/rspec/receive_counts.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/receive_counts.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -21,10 +21,10 @@
# expect(foo).to receive(:bar).at_least(:once)
# expect(foo).to receive(:bar).at_least(:twice)
# expect(foo).to receive(:bar).at_most(:once)
# expect(foo).to receive(:bar).at_most(:twice).times
#
- class ReceiveCounts < Cop
+ class ReceiveCounts < Base
extend AutoCorrector
MSG = 'Use `%<alternative>s` instead of `%<original>s`.'
def_node_matcher :receive_counts, <<-PATTERN