lib/rubocop/cop/rspec/dialect.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/dialect.rb in rubocop-rspec-2.3.0

- old
+ new

@@ -45,9 +45,10 @@ extend AutoCorrector include MethodPreference MSG = 'Prefer `%<prefer>s` over `%<current>s`.' + # @!method rspec_method?(node) def_node_matcher :rspec_method?, send_pattern('#ALL.all') def on_send(node) return unless rspec_method?(node) return unless preferred_methods[node.method_name]