[rspec-users] Returning a StringIO object from a stub

JGailor jeremy at infinitecube.com
Thu Nov 12 13:02:41 EST 2009

Thanks Paul,

As soon as I read the first part of your message I had one of those
face-palm moments.  Thanks for your help.  In the case of this
expectation, I'm not sure which path I'll take as this particular test
is looking for it to read a certain number of lines of input before
finding the target line.

More information about the rspec-users mailing list