Revert old behaviour

This commit is contained in:
Artur Beljajev 2018-08-08 19:50:50 +03:00
parent 6de31605d9
commit 096035ae11
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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