Displaying 1 result from an estimated 1 matches for "web21c".
Did you mean:
web1
2007 Jul 27
5
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 is calling #add on
global $rspec_mocks, which in turn is nil.
Can someone explain what I''m doing wrong, as I can''t seem to stub
anything out! Here''s