Skip to content

Devise using DELETE is not quite correct. #32

@jarl-dk

Description

@jarl-dk

In section https://tutorials.railsapps.org/tutorials/rails3-bootstrap-devise-cancan#authentication there is an argument for /config/initializers/devise.rb to contain the following line

config.sign_out_via = Rails.env.test? ? :get : :delete

However commenting this line out does not trigger any (cucumber) tests to fail.

But when the line is changed to

config.sign_out_via = :delete

Then there are some cucumber tests to fail.

That is not in alignment with the explanation found in https://tutorials.railsapps.org/tutorials/rails3-bootstrap-devise-cancan#authentication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions