[rspec-users] instance variables from outer before blocks don't persist?
Patrick J. Collins
patrick at collinatorstudios.com
Thu Oct 13 20:47:36 EDT 2011
> > ... But I just tried doing this in RSpec with before :each, and it seems that
> > my @foo ivar is non existant inside the inner context...... Is this the way
> > it's supposed to be?
>
> post the whole example
Nevermind.. I figured out what I was doing wrong.
Patrick J. Collins
http://collinatorstudios.com
More information about the rspec-users
mailing list