lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/be_eql.rb in rubocop-rspec-1.9.0

- old
+ new

@@ -32,11 +32,10 @@ # `a == b`, and `b` is comparable by identity, `a` is still not # necessarily the same type as `b` since the `#==` operator can # coerce objects for comparison. # class BeEql < Cop - include RuboCop::RSpec::SpecOnly, - RuboCop::Cop::ConfigurableEnforcedStyle + include RuboCop::Cop::ConfigurableEnforcedStyle MSG = 'Prefer `be` over `eql`'.freeze def_node_matcher :eql_type_with_identity, <<-PATTERN (send _ :to $(send nil :eql {true false int float sym nil_type?}))