Skip to content

Commit

Permalink
tests: Encode the theme name too.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Feb 17, 2019
1 parent d8f1a3c commit 741badd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/themes_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('themes', () => {
config.themesAd.forEach((theme) => {
describe(theme.name, () => {
it('has name', (done) => {
assert.ok(response.body.includes(theme.name),
assert.ok(response.body.includes(htmlEncode(theme.name)),
`Expects response body to include "${theme.name}"`);
done();
});
Expand Down

0 comments on commit 741badd

Please sign in to comment.