Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test incorrectly failing under Rubinius 1.0.
This test imposed too many constraints. It appears that Object#inspect legitimately calls Object#object_id in Rubinius. But we're only interested in what 'id' methods Mocha::ObjectMethods#mocha_inspect calls. By stubbing Object#inspect we can relax the constraints imposed by the test.
- Loading branch information