mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Revert old behaviour
This commit is contained in:
parent
6de31605d9
commit
096035ae11
3 changed files with 4 additions and 4 deletions
|
@ -17,6 +17,6 @@ class AdminAreaProtectedAreaTest < ApplicationSystemTestCase
|
|||
sign_in users(:admin)
|
||||
visit new_admin_user_session_url
|
||||
assert_text 'You are already signed in'
|
||||
assert_current_path admin_root_path
|
||||
assert_current_path admin_domains_path
|
||||
end
|
||||
end
|
|
@ -12,7 +12,7 @@ class AdminAreaSignInTest < ApplicationSystemTestCase
|
|||
click_button 'Sign in'
|
||||
|
||||
assert_text 'Signed in successfully'
|
||||
assert_current_path admin_root_path
|
||||
assert_current_path admin_domains_path
|
||||
end
|
||||
|
||||
def test_wrong_password
|
||||
|
@ -39,6 +39,6 @@ class AdminAreaSignInTest < ApplicationSystemTestCase
|
|||
click_button 'Sign in'
|
||||
|
||||
assert_text 'Signed in successfully'
|
||||
assert_current_path admin_root_path
|
||||
assert_current_path admin_domains_path
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue