[rspec-users] Specing based on user roles
lists at ruby-forum.com
Tue Nov 11 17:49:17 EST 2008
> I am using restful_authentication. I tried to look at their specs, but
> they are unreadable. So I am trying to throw together my own
> authentication mocker/stuber but with no luck.
Just to clear things out, can you tell me which snippet is correct:
It appears to me that 1) is correct, as 2) seems to be messing up all my
Posted via http://www.ruby-forum.com/.
More information about the rspec-users