fa1c5f7279
and do some general cleanup around sessions controllers and the sign_in_as test helper
11 lines
255 B
Ruby
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
|