Files
fizzy/test/controllers/sessions_controller_test.rb
T
Mike Dalessio fa1c5f7279 Remove session controller actions other than delete
and do some general cleanup around sessions controllers and the
sign_in_as test helper
2025-07-02 15:03:28 -04:00

11 lines
255 B
Ruby

require "test_helper"
class SessionsControllerTest < ActionDispatch::IntegrationTest
test "destroy" do
sign_in_as :kevin
delete session_path
assert_redirected_to Launchpad.login_url
assert_not cookies[:session_token].present?
end
end