Update backend/src/middleware/hashtags/hashtagsMiddleware.spec.js

Co-Authored-By: Robert Schäfer <git@roschaefer.de>
This commit is contained in:
Wolfgang Huß 2019-09-16 16:16:09 +02:00 committed by roschaefer
parent 2ad4bb3476
commit 15816dd97b

View File

@ -129,7 +129,7 @@ describe('hashtags', () => {
) )
}) })
describe('afterwards update the Post by removing a hashtag, leaving a hashtag and add a hashtag', () => { describe('updates the Post by removing, keeping and adding one hashtag respectively', () => {
// The already existing hashtag has no class at this point. // The already existing hashtag has no class at this point.
const postContent = const postContent =
'<p>Hey Dude, <a class="hashtag" href="/search/hashtag/Elections">#Elections</a> should work equal for everybody!? That seems to be the only way to have equal <a href="/search/hashtag/Liberty">#Liberty</a> for everyone.</p>' '<p>Hey Dude, <a class="hashtag" href="/search/hashtag/Elections">#Elections</a> should work equal for everybody!? That seems to be the only way to have equal <a href="/search/hashtag/Liberty">#Liberty</a> for everyone.</p>'