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

- old
+ new

@@ -9,10 +9,10 @@ # # bad # expect(something) # # # good # expect(something).to be(1) - class VoidExpect < Cop + class VoidExpect < Base MSG = 'Do not use `expect()` without `.to` or `.not_to`. ' \ 'Chain the methods or remove it.' def_node_matcher :expect?, <<-PATTERN (send nil? :expect ...)