lib/rubocop/rspec/concept.rb in rubocop-rspec-1.15.0 vs lib/rubocop/rspec/concept.rb in rubocop-rspec-1.15.1
- old
+ new
@@ -2,18 +2,19 @@
module RuboCop
module RSpec
# Wrapper for RSpec DSL methods
class Concept
- include Language, Language::NodePattern
+ include Language
+ include Language::NodePattern
extend NodePattern::Macros
def initialize(node)
@node = node
end
def eql?(other)
- node.eql?(other.node)
+ node == other.node
end
alias == eql?
def hash