Just an fyi. I had the same problem where upgrading from 0.9.5->0.9.7
I'm not using 'Shoulda'. Adding the require listed below in my config/
On Jul 13, 4:17 am, James Mead <
jamesmea...@gmail.com> wrote:
> I was thinking about this a bit more and it sounds quite like the problem
> described here [1].
>
> So if you are using Shoulda and Mocha within a Rails project, I'd suggest
> doing something like this :-
>
> # config/environments/test.rb
>
> require 'test/unit' # add this line
> config.gem 'thoughtbot-shoulda', :lib => 'shoulda'
>
> It's likely that the Rails commits associated with this [2] will fix the
> problem without you needing to change your app like this, but I'm not sure
> when they will be released.
>
> Cheers, James.
>
> [1]
http://floehopper.lighthouseapp.com/projects/22289-mocha/tickets/50