[rspec-users] let vs ivar w/ before block

Patrick J. Collins patrick at collinatorstudios.com
Fri Sep 30 15:49:35 EDT 2011

> Am I correct in understanding that the point of using let is that it can
> minimize database calls due to memoization?
> describe "#something" do
>   let(:something) = Something.groovy_scope

and obviously I meant let(:something) { ... }, not =


Patrick J. Collins

More information about the rspec-users mailing list