Thank you, David, for this explication, it works for me.

On Saturday, November 3, 2012 11:25:23 PM UTC+1, [email protected] wrote:
>
> Different scopes. The blocks passed to describe and context are eval'd in 
> the scope of the example group (class). The blocks passed to let, subject, 
> it, before, and after are eval'd in the scope of an instance of that class.
>
> HTH
>
> Sent from my iPhone
>
> On Nov 3, 2012, at 5:20 PM, Javix <[email protected] <javascript:>> wrote:
>
> Sorry for the typo, NOT visible in the last block :)
>
> On Saturday, November 3, 2012 11:18:28 PM UTC+1, Javix wrote:
>>
>> What I really can't get is WHY 'client' defined in let block is visible 
>> before but in that block ?
>>
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To post to this group, send email to [email protected] <javascript:>.
> To unsubscribe from this group, send email to 
> [email protected]<javascript:>
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rspec/-/2FPfIqC680sJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/Q2v8uTt6iKMJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to