UX: Include the flagged person's username on the flagged post

This commit is contained in:
Robin Ward
2017-11-09 13:18:33 -05:00
parent 6e2853da53
commit 3093074398
3 changed files with 14 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ QUnit.test("flagged posts", assert => {
assert.equal(find('.flagged-post .flag-user').length, 1, 'shows who flagged it');
assert.equal(find('.flagged-post-response').length, 2);
assert.equal(find('.flagged-post-response:eq(0) img.avatar').length, 1);
assert.equal(find('.flagged-post-user-details .username').length, 1, 'shows the flagged username');
});
});