lib/rubocop/cop/rspec/be.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -17,10 +17,10 @@ # # good # expect(foo).to be_truthy # expect(foo).to be 1.0 # expect(foo).to be(true) # - class Be < Cop + 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)) PATTERN