Sha256: 99e136a3291af2b83a8dcb83997c61d9593a7b6507e6d8bb86b02c9c2d159353
Contents?: true
Size: 410 Bytes
Versions: 7
Compression:
Stored size: 410 Bytes
Contents
require 'test_helper' module Spina module Admin class LogoutTest < ActionDispatch::IntegrationTest setup do @routes = Engine.routes post_via_redirect "/admin/sessions", email: spina_users(:bram).email, password: "password" end test "logout and redirect to homepage" do get_via_redirect "/admin/logout" assert_equal '/', path end end end end
Version data entries
7 entries across 7 versions & 1 rubygems