lib/rubocop/cop/rspec/predicate_matcher.rb in rubocop-rspec-2.15.0 vs lib/rubocop/cop/rspec/predicate_matcher.rb in rubocop-rspec-2.16.0
- old
+ new
@@ -281,9 +281,11 @@
extend AutoCorrector
include ConfigurableEnforcedStyle
include InflectedHelper
include ExplicitHelper
+ RESTRICT_ON_SEND = Runners.all
+
def on_send(node)
case style
when :inflected
check_inflected(node)
when :explicit