[rspec-users] Is it possible to execute 'lets' once for all 'its'?
jeffdeville at gmail.com
Thu Nov 10 12:10:26 EST 2011
The setup for certain integration specs is a bit slow, and I'm generally
careful to make my 'it' blocks read-only. However, I also like to keep my
it blocks extremely focused on just 1 thing. This has become a performance
problem though, because the setup is executed for every 'it'. Is there any
way to just run the setup once, and then the actual tests?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users