[Rspec-devel] rSpec tutorial

David Astels dastels at daveastels.com
Tue Aug 15 20:57:22 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 15-Aug-06, at 10:06 AM, Luke Redpath wrote:

> Dave, great tutorial! I'll be sure to mention it in my own  
> forthcoming testing rails articles (once its publicly available of  
> course).
>
> I haven't gone over it with a fine tooth comb but I did notice one  
> small error on page 10, under tallying white pegs:
>
>   setup do
>     all_white_code = Mastermind::Code.new 
> (:red, :white, :white, :white)
>     all_white_guess = Mastermind::Code.new 
> (:black, :black, :black, :red)
>     @score = all_white_code.mark(all_white_guess)
>   end
>
> The variable names all_white_code and all_white_guess don't make  
> sense in this example.

Thanks for all the above Luke!

Dave

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFE4m1zauez/L4x7g4RAvv1AJ0VXiFzQ3X7oIkFgchVnU9sFC+xwACgyRQX
Rr6P1XfGmpZ5mi79a5gfl90=
=CsXf
-----END PGP SIGNATURE-----


More information about the Rspec-devel mailing list