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

- old
+ new

@@ -21,10 +21,10 @@ # class Be < Base MSG = 'Don\'t use `be` without an argument.' def_node_matcher :be_without_args, <<-PATTERN - (send _ #{Runners::ALL.node_pattern_union} $(send nil? :be)) + (send _ #Runners.all $(send nil? :be)) PATTERN def on_send(node) be_without_args(node) do |matcher| add_offense(matcher.loc.selector)