[rspec-users] Possible subject/its bug?

Ashley Moran
2010-11-13T12:50:43Z

Hi

I recently did a coding kata and ran into some strange behaviour.  The code is
here[1], the weirdness under the comment "Doesn''t work... RSpec
bug?".

Basically, all the `subject` / `its(:sequence)` examples seem to work, except
the one split into the two contexts.  In this case `its(:sequence)` produces an
empty array.

Anyone got any idea what''s going on?

Cheers
Ash

[1]
https://github.com/ashleymoran/xpman_even_fib/blob/ashleymoran-seb-201011112025/spec/euler_fib_spec.rb

--