class RSpec::Mocks::Mock
def ==(other)
the comparison, we're sure the call gets delegated to the proxy
ActiveRecords belongs_to proxy objects. By making the other object run
This allows for comparing the mock to other objects that proxy such as
def ==(other) other == __mock_proxy end