mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Fix registrar area authenticated root path
This commit is contained in:
parent
97650e2a6a
commit
c1066f12c6
3 changed files with 11 additions and 3 deletions
|
@ -12,7 +12,7 @@ class RegistrarAreaLoginTest < ActionDispatch::IntegrationTest
|
|||
click_button 'Login'
|
||||
|
||||
assert_text 'Log out'
|
||||
assert_current_path registrar_root_path
|
||||
assert_current_path registrar_poll_path
|
||||
end
|
||||
|
||||
def test_wrong_password
|
||||
|
|
|
@ -17,6 +17,6 @@ class RegistrarAreaProtectedAreaTest < ActionDispatch::IntegrationTest
|
|||
sign_in users(:api_bestnames)
|
||||
visit new_registrar_user_session_url
|
||||
assert_text 'You are already signed in'
|
||||
assert_current_path registrar_root_path
|
||||
assert_current_path registrar_poll_path
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue