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

- old
+ new

@@ -31,10 +31,10 @@ MSG = 'Prefer `%<good>s` over `%<bad>s`.' def_node_matcher :implicit_expect, <<-PATTERN { (send nil? ${:should :should_not} ...) - (send (send nil? $:is_expected) #{Runners::ALL.node_pattern_union} ...) + (send (send nil? $:is_expected) #Runners.all ...) } PATTERN alternatives = { 'is_expected.to' => 'should',