Add support for suspension message

This commit is contained in:
Robin Ward
2017-09-13 13:06:41 -04:00
parent daceeb9700
commit 4020409bbf
5 changed files with 60 additions and 13 deletions

View File

@@ -25,6 +25,7 @@ QUnit.test("suspend a user", assert => {
});
fillIn('.suspend-duration', 12);
fillIn('.suspend-reason', "for breaking the rules");
fillIn('.suspend-message', "this is an email reason why");
andThen(() => {
assert.equal(find('.perform-suspend[disabled]').length, 0);
});