Added a test, enabled other tests

This commit is contained in:
murgatroid99 2015-08-19 11:49:53 -07:00
parent 47f39044f1
commit 1cb948a0a7

View File

@ -111,7 +111,7 @@ describe('server', function() {
it('tryShutdown should shutdown successfully', function(done) {
server.tryShutdown(done);
});
it.only('forceShutdown should shutdown successfully', function() {
it('forceShutdown should shutdown successfully', function() {
server.forceShutdown();
});
it('tryShutdown should be idempotent', function(done) {
@ -122,5 +122,9 @@ describe('server', function() {
server.forceShutdown();
server.forceShutdown();
});
it('forceShutdown should trigger tryShutdown', function(done) {
server.tryShutdown(done);
server.forceShutdown();
});
});
});