Methinks thou shoulds't have
messenger.should_receive(:puts).with("Please make one of the following
menu selections ")
in lieu of
program.should_receive(:puts).with("Please make one of the following
menu selections ")
Sorry, I'm just in a medieval mood this afternoon for some reason.
On Sun,
Hi!
I'm going through the rspec book in beta form right now and hit a snag
in chapter three.
I am developing an application in parallel to the book example instead
of writing the book example word for word. To the best of my knowledge,
I have duplicated a parallel example of the book example, ch
On Sun, Apr 26, 2009 at 04:17:42PM -0500, David Chelimsky wrote:
> You've got the message expectation (should_receive) on the wrong
> object - it should be on the messenger, not the program.
>
> HTH,
> David
yep that fixed 'er all right! I don't know ow many times I thought I
had checked it to m
On Sun, Apr 26, 2009 at 3:45 PM, G. Brandon Hoyt wrote:
> Hi!
> I'm going through the rspec book in beta form right now and hit a snag
> in chapter three.
> I am developing an application in parallel to the book example instead
> of writing the book example word for word. To the best of my knowle
Hi!
I'm going through the rspec book in beta form right now and hit a snag
in chapter three.
I am developing an application in parallel to the book example instead
of writing the book example word for word. To the best of my knowledge,
I have duplicated a parallel example of the book example, chan