[rspec-users] subject in the before block?

David Chelimsky dchelimsky at gmail.com
Wed Mar 31 17:33:57 EDT 2010


On Mar 31, 2010, at 3:54 PM, Brian Cardarella wrote:

> Is there a reason why I cannot access the subject in the before block?
> It seems to me that anything that I have access to in the it blocks
> should also be accessible in the before block.

No reason. You using rspec 1 or 2? Also, before(:each) or before(:all)?


More information about the rspec-users mailing list