class RSpec::Matchers::BuiltIn::Equal

def detailed_failure_message

def detailed_failure_message
  <<-MESSAGE
 #{inspect_object(expected)}
 #{inspect_object(actual)}
 using equal?, which compares object identity,
cted and actual are not the same object. Use
actual).to eq(expected)` if you don't care about
dentity in this example.
end