mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Integrate master branch
This commit is contained in:
parent
bf3b54367b
commit
6de31605d9
8 changed files with 9 additions and 9 deletions
15
test/system/admin_area/sign_out_test.rb
Normal file
15
test/system/admin_area/sign_out_test.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'test_helper'
|
||||
|
||||
class AdminAreaSignOutTest < ApplicationSystemTestCase
|
||||
def setup
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue