On 30/10/2007, at 10:58 AM, Lance Carlson wrote:

> MiddleMan = Object.new
>
> at the top of my spec file worked better for me. I didn't want to have
> to mess with ENV variables.
>
>

Hi  Guys

This solution seemed to work nicely ... I was getting warnings about  
redefining the constant and so added:

class Object;  remove_const :MiddleMan; end

Cheers
Shane
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to