Of
> [EMAIL PROTECTED]
> Sent: 27 July 2007 08:27
> To: rspec-users@rubyforge.org
> Subject: Re: [rspec-users] File.stub!
>
> Hi,
>
> I'm trying to stub File.open and whenever I do, rspec blows up with the
> following error message (undefined method `add' for nil:N
y 2007 08:27
To: rspec-users@rubyforge.org
Subject: Re: [rspec-users] File.stub!
Hi,
I'm trying to stub File.open and whenever I do, rspec blows up with the
following error message (undefined method `add' for nil:NilClass), which
seems to happen because method __add in class Proxy
Hi,
I'm trying to stub File.open and whenever I do, rspec blows up with the
following error message (undefined method `add' for nil:NilClass), which
seems to happen because method __add in class Proxy is calling #add on
global $rspec_mocks, which in turn is nil.
Can someone explain what I'm doi