[rspec-users] Class method not being stubbed

Fernando Perez lists at ruby-forum.com
Sun May 24 14:35:22 EDT 2009

> 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 ...'

> 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.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list