Hi all,

rspec 2.14.8

I have a view spec with 2 tests and an call to assign creates an instance 
variable but it does not clear before the next test begins. Shouldn't it?

The tests are in this gist, with the assign call being highlighted.

https://gist.github.com/arifb/55773c21fd8dac3a47f1#file-new-html-erb_spec-rb-L20

I would expect @beneficiary to be nil for the 2nd test however it doesn't 
seem to be.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/510f4c6d-5549-4d83-adee-f214aa708db7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to