Should testing require Mocha?

Changeset 5916 breaks ActionPack tests if the Mocha gem is not installed. Should testing ActionPack require it?

I made a patch either way: http://dev.rubyonrails.org/ticket/7024

Dan Manges

Dan Manges wrote:

Should testing ActionPack require it?

Of course, testing ActionPack DOES require it - what I meant is should it gracefully require it?

Dan Manges

I think when that patch was applied we decided that it wasn't a problem for core developers to install mocha to run those tests.