lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -22,10 +22,10 @@
# expect(foo).to have_received(:bar)
#
# # good
# expect(foo).to receive(:bar)
#
- class MessageSpies < Cop
+ class MessageSpies < Base
include ConfigurableEnforcedStyle
MSG_RECEIVE = 'Prefer `receive` for setting message expectations.'
MSG_HAVE_RECEIVED = 'Prefer `have_received` for setting message '\