X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e407dfb34f47e6fbbbf3c11c1a8318256abb5cd..368ce0000d585a8bf04e6189c818577756e29c02:/test/controllers/user_roles_controller_test.rb?ds=inline diff --git a/test/controllers/user_roles_controller_test.rb b/test/controllers/user_roles_controller_test.rb index 705f06a1c..e9aadcc3a 100644 --- a/test/controllers/user_roles_controller_test.rb +++ b/test/controllers/user_roles_controller_test.rb @@ -43,7 +43,7 @@ class UserRolesControllerTest < ActionController::TestCase post :grant, :params => { :display_name => "non_existent_user", :role => role } end assert_response :not_found - assert_template "user/no_such_user" + assert_template "users/no_such_user" assert_select "h1", "The user non_existent_user does not exist" # Granting a role to a user that already has it should fail @@ -104,7 +104,7 @@ class UserRolesControllerTest < ActionController::TestCase post :revoke, :params => { :display_name => "non_existent_user", :role => role } end assert_response :not_found - assert_template "user/no_such_user" + assert_template "users/no_such_user" assert_select "h1", "The user non_existent_user does not exist" # Removing a role from a user that doesn't have it should fail