lib/rubocop/cop/rspec/dialect.rb in rubocop-rspec-2.0.0.pre vs lib/rubocop/cop/rspec/dialect.rb in rubocop-rspec-2.0.0

- old
+ new

@@ -45,10 +45,10 @@ extend AutoCorrector include MethodPreference MSG = 'Prefer `%<prefer>s` over `%<current>s`.' - def_node_matcher :rspec_method?, ALL.send_pattern + 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]