[rspec-users] Class method not being stubbed

Nick Hoffman nick at deadorange.com
Sun May 24 14:24:08 EDT 2009


On Sun, May 24, 2009 at 2:13 PM, Fernando Perez <lists at ruby-forum.com> wrote:
>> Hi Fernando. In this case, I don't think it's a matter of using the
>> debugger.
>
> I suspect a problem in: require 'lib/adsense_heaven_parser', the code
> maybe never gets out of this require statement. The debugger would allow
> you to immediately clear things out.

Hi Fernando. I'm not sure what you mean by "the code never gets out of
this require statement".

However, that doesn't really matter. The call to #require shouldn't
happen, because the method is supposed to be stubbed out.

-Nick


More information about the rspec-users mailing list