Skip to content

Commit

Permalink
Get dat test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jwolski committed Sep 12, 2015
1 parent 8591ff7 commit 1b7a589
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/server/admin/config_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ test('config set handler validation', function t(assert) {
handleConfigSet(null, JSON.stringify(null), null, function onHandle(err) {
assert.ok(err, 'an error occurred');
});
// Invalid body
handleConfigSet(null, JSON.stringify(1), null, function onHandle(err) {
assert.ok(err, 'an error occurred');
});
assert.end();
ringpop.destroy();
});
Expand Down

0 comments on commit 1b7a589

Please sign in to comment.