travis-ci/travis-core — pull request #93 by svenfuchs (2012-08-19 16:26:57+00:00)
Title: use pure ruby stub objects instead of (verbose) mocha stubs

We're currently using mocha stubs to setup standard stub objects. This is super verbose when one accidentally calls a wrong method (or whatever else goes wrong) ... mocha will list up to 2 screens of stubbed calls.

This pull request makes it so that we use simple ruby objects. Already seems faster than the whole mocha dance, but can still be improved for performance.