lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.26.1 vs lib/rubocop/cop/rspec/message_spies.rb in rubocop-rspec-2.27.0
- old
+ new
@@ -37,11 +37,9 @@
MSG_HAVE_RECEIVED = 'Prefer `have_received` for setting message ' \
'expectations. Setup `%<source>s` as a spy using ' \
'`allow` or `instance_spy`.'
- SUPPORTED_STYLES = %w[have_received receive].freeze
-
RESTRICT_ON_SEND = Runners.all
# @!method message_expectation(node)
def_node_matcher :message_expectation, %(
(send (send nil? :expect $_) #Runners.all ...)