#79 new
James Mead

Fail fast if Mocha is required before any test framework has been required

Reported by James Mead | December 31st, 2010 @ 04:22 PM

Or at least add more debugging to make it easier to spot this problem.

Also improve documentation for adding Mocha to a Rails project using Bundler and a Gemfile :-

gem 'mocha', :require => false

See this mailing list thread for an example of this problem.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A mocking & stubbing library for Ruby.

* <a href="http://github.com/floehopper/mocha">GitHub repository</a>
* <a href="http://mocha.rubyforge.org">Documentation</a>
* <a href="http://groups.google.com/group/mocha-developer">Mailing List</a>

People watching this ticket