Re: [rspec] why is this failing

17 views
Skip to first unread message

Antonio Antillon

unread,
Oct 31, 2012, 12:21:11 PM10/31/12
to rs...@googlegroups.com
You need to tell the start method on Codebreaker to send a message to output.... this method here => https://github.com/roelof1967/codebreaker/blob/master/lib/codebreaker.rb#L16

On Wed, Oct 31, 2012 at 9:06 AM, roelof <rwo...@hotmail.com> wrote:
Hello,

I now read chapter 3 of the Rspec book.
The first test on writing the welcome message should pass but in my case it fails with this message : https://gist.github.com/3987880
You can find the whole source here : https://github.com/roelof1967/codebreaker

Can anyone help me figure out what I have done wrong.

Roelof

--
You received this message because you are subscribed to the Google Groups "rspec" group.
To post to this group, send email to rs...@googlegroups.com.
To unsubscribe from this group, send email to rspec+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rspec/-/nb-YvvfMjqAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Roelof Wobben

unread,
Oct 31, 2012, 12:41:46 PM10/31/12
to rs...@googlegroups.com
Maybe a stupid question. How do I do this ?
I cannot find anything about this in the book.

Roelof



Date: Wed, 31 Oct 2012 09:21:11 -0700
Subject: Re: [rspec] why is this failing
From: antil...@gmail.com
To: rs...@googlegroups.com

Antonio Antillon

unread,
Oct 31, 2012, 12:45:27 PM10/31/12
to rs...@googlegroups.com
If you're following along the book, read chapter 4, the code you need to add is there.

Antonio Antillon

unread,
Oct 31, 2012, 12:46:21 PM10/31/12
to rs...@googlegroups.com
Sorry, chapter 5 also has the corresponding code to that specs.
Reply all
Reply to author
Forward
0 new messages