lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.1.0 vs lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.2.0

- old
+ new

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