Just in case this is affecting anyone else, I thought I'd draw
attention to this Lighthouse ticket [1].
You now need to explicitly load the Test::Unit gem before loading the
Shoulda gem. This is because the Shoulda gem loads
ActiveSupport::TestCase which in turn loads Mocha and Test::Unit.
However the current version of ActiveSupport (2.3.2) loads Mocha
first, before Test::Unit is loaded.
config.gem 'test-unit', :lib => 'test/unit'
config.gem 'thoughtbot-shoulda', :lib => 'shoulda'
The Rails team is already on the case [2] with making changes for the
latest Mocha.
I suspect there will be other load order issues coming up over the
next few days (or weeks) once people start to use Mocha 0.9.6 and
above. Please let me know if you need help.
Cheers, James.
[1]
http://floehopper.lighthouseapp.com/projects/22289/tickets/50
[2]
https://rails.lighthouseapp.com/projects/8994/tickets/2858