lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-2.3.0

- old
+ new

@@ -39,9 +39,10 @@ extend AutoCorrector MSG = 'Prefer `be` over `eql`.' RESTRICT_ON_SEND = %i[to].freeze + # @!method eql_type_with_identity(node) def_node_matcher :eql_type_with_identity, <<-PATTERN (send _ :to $(send nil? :eql {true false int float sym nil_type?})) PATTERN def on_send(node)