[rspec-users] Can some one please explain why one of those two examples fails?

2012-03-13 Thread Mohamad El-Husseini
The following are what I believe two ways of doing the same thing. Only the first example fails, while the latter passes. I'm finding it hard to get to understand describe and context blocks, particularly with respect to scopes. I would appreciate any for dummies explanation, or a link to a

Re: [rspec-users] Can some one please explain why one of those two examples fails?

2012-03-13 Thread Mike Mazur
Hi, On Wed, Mar 14, 2012 at 07:55, Mohamad El-Husseini husseini@gmail.com wrote: The following are what I believe two ways of doing the same thing. Only the first example fails, while the latter passes. In your failing example: context generates a unique password_reset_token each time