On Tue, Dec 14, 2010 at 4:12 AM, Leandro <[email protected]> wrote:

> I need to do this:
>
>  Scenario: Access private area without a session
>    Given I don't have a session
>    When I access private area
>    Then I should see "You are not logged in"
>
> Is there a way to remove the session cookie in "Given I don't have a
> session" with capybara?
> I know I could visit the logout page, but what if I didn't have this
> feature yet?
>
>
Leandro, are you using a Authlogic or Devise to provide the authentication
functionality?

-Conrad


> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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