lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/message_expectation.rb in rubocop-rspec-1.33.0

- old
+ new

@@ -25,10 +25,10 @@ # expect(foo).to receive(:bar) # class MessageExpectation < Cop include ConfigurableEnforcedStyle - MSG = 'Prefer `%<style>s` for setting message expectations.'.freeze + MSG = 'Prefer `%<style>s` for setting message expectations.' SUPPORTED_STYLES = %w[allow expect].freeze def_node_matcher :message_expectation, <<-PATTERN (send $(send nil? {:expect :allow} ...) :to #receive_message?)