This is a loading issue as you surmised.
My environment.rb had this:
config.gem "thoughtbot-shoulda", :lib => "shoulda", :source =>
"
http://gems.github.com"
config.gem "faker"
config.gem "mocha"
which I have changed to this:
config.gem "thoughtbot-shoulda", :lib => false, :source => "http://
gems.github.com"
config.gem "faker", :lib => false
config.gem "mocha", :lib => false
Now the gems are not loaded from environment.rb and normality has been
restored to my tests.
Thank you for your help, James
James
On Nov 23, 11:16 pm, James Mead <
jamesmea...@gmail.com> wrote:
> Can you give more details of your environment.rb file i.e. is Shoulda
> being loaded in that file? If so, does it appear before or after the
> config.gem "mocha" line? What version of Shoulda are you using? Also
> are you *explicitly* loading Test::Unit in environment.rb? When I have
> some time I'll see if I can reproduce your problem. Cheers, James.
>
> 2009/11/23 James Silberbauer <
james...@telkomsa.net>: