Normally, == method doesn't raise any exception if passed object isn't equal object.
It's better that Capybara::Node::Matchers follows the convention.
== doesn't raise an exception for unrelated object
The spec is in the wrong place, it should be here: https://github.com/jnicklas/capybara/blob/master/lib/capybara/spec/session/node_spec.rb#L111-L117
Move spec to correct place
OK. I've moved the spec.