On Tue, Aug 18, 2009 at 2:46 PM, Tom Stuart<[email protected]> wrote: > On 18 Aug 2009, at 20:16, Paul Mylchreest wrote: >> >> So, taking from your book, on page 212: > > [...] >> >> I guess that is a typo, correct? > > As an aside, I don't understand this section of the book ("Expecting a > Throw") at all. The original version of the loop already "short circuits" > (with return) without using throw/catch. What does "as soon as > working_too_hard == true" mean? And yes, it's weird to be setting a > throw_symbol expectation on a call to a method which is catching that throw.
Yes - this has been reported in the errata and has not yet been addressed. It will be before we get to treeware :) > > Cheers, > -Tom > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
