lib/capybara/window.rb in capybara-3.36.0 vs lib/capybara/window.rb in capybara-3.37.0
- old
+ new
@@ -116,10 +116,10 @@
other.is_a?(self.class) && @session == other.session && @handle == other.handle
end
alias_method :==, :eql?
def hash
- @session.hash ^ @handle.hash
+ [@session, @handle].hash
end
def inspect
"#<Window @handle=#{@handle.inspect}>"
end