lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/instance_spy.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -16,10 +16,10 @@
# it do
# foo = instance_spy(Foo)
# expect(foo).to have_received(:bar)
# end
#
- class InstanceSpy < Cop
+ class InstanceSpy < Base
extend AutoCorrector
MSG = 'Use `instance_spy` when you check your double '\
'with `have_received`.'