mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Match full template name
This commit is contained in:
parent
ed6e232756
commit
7998d6f878
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ class AuthenticationRoutesRestrictions < ActionDispatch::IntegrationTest
|
|||
get dashboard_path
|
||||
|
||||
assert_response :success
|
||||
assert_template 'home/admin'
|
||||
assert_template 'home/admin_dashboard'
|
||||
assert_contain 'Admin dashboard'
|
||||
end
|
||||
|
||||
|
@ -203,7 +203,7 @@ class AuthenticationRoutesRestrictions < ActionDispatch::IntegrationTest
|
|||
get dashboard_path
|
||||
|
||||
assert_response :success
|
||||
assert_template 'home/user'
|
||||
assert_template 'home/user_dashboard'
|
||||
assert_contain 'User dashboard'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue