Detect a SSH key generation error

This commit is contained in:
Hideki Nakamura
2017-12-15 23:48:52 +09:00
parent d1106f53e0
commit 3a311c9584
2 changed files with 45 additions and 12 deletions

View File

@@ -330,7 +330,7 @@ describe("api/editor/sshkeys", function() {
if (err) {
return done(err);
}
res.body.should.be.true();
res.body.should.be.deepEqual({});
done();
});
});