Files
fizzy/test/controllers/sessions/login_menus_controller_test.rb
T
2025-10-31 16:24:30 +01:00

22 lines
365 B
Ruby

require "test_helper"
class Sessions::LoginMenusControllerTest < ActionDispatch::IntegrationTest
test "show" do
untenanted do
identify_as :kevin
get session_login_menu_url
assert_response :success
end
end
test "create" do
untenanted do
sign_in_as :kevin
assert cookies[:session_token].present?
end
end
end