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

Ah, I understand what you mean now.

>> However, that doesn't really matter. The call to #require shouldn't
>> happen, because the method is supposed to be stubbed out.
> You are making a lot of suppositions that are not obvious to us. Nowhere
> in your pastie is your require call stubbed.

I'm not sure why the call to #require would need to be stubbed.

What I'm trying to say is that I've set a message expectation on
AdSenseHeavenParser#parse , which should prevent the method from being
called in the first place.

-Nick
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to