make sure the user.name is escaped
Created by: jvanbaarsen
Why is this PR needed?
At the current state the tests are not passing if the user.name
contains an '
(i.e.: Mister O'Donnelly). This patch fixes the issue by putting html_escape
around the asserted values.
Related issues/PR's Issue was found in https://github.com/gitlabhq/gitlabhq/pull/7928