Given /I am not logged in/ do
    session.destroy
end

It doesn't work!
It seems session can be accessed only from a controller, but I'm not
sure.

On Dec 14, 3:28 pm, James Byrne <[email protected]> wrote:
> Have you tried:
>
> session.delete
>
> or perhaps:
>
> session.destroy
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to