RailsApps / rails3-devise-rspec-cucumber

An example Rails 3.2 app with Devise and RSpec and Cucumber.
http://railsapps.github.io/
445 stars 144 forks source link

Just a tiny adjustment to the login_items partial on the logout link #7

Closed wolves closed 13 years ago

DanielKehoe commented 13 years ago

Hi Chris Stingl,

I've closed this pull request because it isn't the correct way to handle the issue. Please see: https://github.com/RailsApps/rails3-mongoid-devise/issues/4

Rather than changing the logout link, it's better to change the default HTTP method used to sign out a resource in the Devise initializer for the Rails test environment only.

I assume you are suggesting this change because you are having failures while running Cucumber.

If I'm wrong or there is a better way to handle this issue, please reopen the issue.

Thank you for taking the time to make the suggestion.

-- Daniel