mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
15 lines
No EOL
310 B
Ruby
15 lines
No EOL
310 B
Ruby
require 'application_system_test_case'
|
|
|
|
class AdminAreaSignOutTest < ApplicationSystemTestCase
|
|
setup do
|
|
sign_in users(:admin)
|
|
end
|
|
|
|
def test_logout
|
|
visit admin_root_url
|
|
click_on 'Sign out'
|
|
|
|
assert_text 'Signed out successfully'
|
|
assert_current_path new_admin_user_session_path
|
|
end
|
|
end |