lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -22,10 +22,10 @@
# allow(foo).to receive(:bar)
#
# # good
# expect(foo).to receive(:bar)
#
- class MessageExpectation < Cop
+ class MessageExpectation < Base
include ConfigurableEnforcedStyle
MSG = 'Prefer `%<style>s` for setting message expectations.'
SUPPORTED_STYLES = %w[allow expect].freeze