[rspec-users] feature suggestion: straight strings

Robert Dober robert.dober at gmail.com
Tue Dec 21 06:48:07 EST 2010

On Mon, Dec 20, 2010 at 7:02 PM, David Chelimsky <dchelimsky at gmail.com> wrote:
Probably one could argue that in a spec environment what I am about to
say does not apply as much as in production code. Yet I feel that it
is not the responsibility of a String to describe an example.
This theoretical observation apart, I find the idea rather appealing.
Anyway I am not qualified to vote or judge, just wanted to share these


The 1,000,000th fibonacci number contains '42' 2039 times; that is
almost 30 occurrences more than expected (208988 digits).
N.B. The 42nd fibonacci number does not contain '1000000' that is
almost the expected 3.0e-06 times.

More information about the rspec-users mailing list