X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/188a6e175e63db63e13d77aebd0f996540ddf04e..0d650217f4e805d7d40314bd471be0e53f0fde29:/test/controllers/user_roles_controller_test.rb diff --git a/test/controllers/user_roles_controller_test.rb b/test/controllers/user_roles_controller_test.rb index 73b4f0424..66735ccf5 100644 --- a/test/controllers/user_roles_controller_test.rb +++ b/test/controllers/user_roles_controller_test.rb @@ -71,7 +71,7 @@ class UserRolesControllerTest < ActionDispatch::IntegrationTest post grant_role_path(target_user, "no_such_role") end assert_redirected_to user_path(target_user) - assert_equal "The string `no_such_role' is not a valid role.", flash[:error] + assert_equal "The string 'no_such_role' is not a valid role.", flash[:error] end ## @@ -131,7 +131,7 @@ class UserRolesControllerTest < ActionDispatch::IntegrationTest post revoke_role_path(target_user, "no_such_role") end assert_redirected_to user_path(target_user) - assert_equal "The string `no_such_role' is not a valid role.", flash[:error] + assert_equal "The string 'no_such_role' is not a valid role.", flash[:error] # Revoking administrator role from current user should fail post revoke_role_path(administrator_user, "administrator")