[rspec-users] Evaluating shared example customisation block before shared block

Ashley Moran ashley.moran at patchspace.co.uk
Fri Aug 6 04:18:03 EDT 2010


On Aug 05, 2010, at 4:28 am, David Chelimsky wrote:

> At this point, the customization block is still being eval'd after the shared block, and I'm fairly well convinced this is the right thing, in combination with params to the block.

I don't think it makes any different any more, at least not to me.  The only thing you can't do is use class methods in shared example descriptions, but you don't need to do that any more now anyway.

> Next release will FINALLY have parameterized shared groups. Sweet!

Brilliant :-)  What's the current release plan?

Cheers
Ash

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran



More information about the rspec-users mailing list