Rename profile page in registrar area to account

This commit is contained in:
Artur Beljajev 2019-05-15 13:44:36 +03:00
parent 5e0eca22cf
commit 207c2a704c
10 changed files with 10 additions and 10 deletions

View file

@ -17,10 +17,10 @@ class RegistrarAreaPasswordSignInTest < ApplicationSystemTestCase
assert_current_path registrar_root_path
end
def test_after_successful_sign_in_billing_user_sees_profile
def test_after_successful_sign_in_billing_user_sees_account
@user.update!(roles: [ApiUser::BILLING])
login_with_correct_credentials
assert_current_path registrar_profile_path
assert_current_path registrar_account_path
end
def test_wrong_password