diff --git a/test/14-application-manager.spec.coffee b/test/14-application-manager.spec.coffee index ba437497..24f06b5a 100644 --- a/test/14-application-manager.spec.coffee +++ b/test/14-application-manager.spec.coffee @@ -142,6 +142,7 @@ describe 'ApplicationManager', -> }) stub(@applications.docker, 'getNetworkGateway').returns(Promise.resolve('172.17.0.1')) stub(@applications.docker, 'listContainers').returns(Promise.resolve([])) + stub(@applications.docker, 'listImages').returns(Promise.resolve([])) stub(Service, 'extendEnvVars').callsFake (env) -> env['ADDITIONAL_ENV_VAR'] = 'foo' return env @@ -195,6 +196,9 @@ describe 'ApplicationManager', -> @applications.docker.listContainers.restore() Service.extendEnvVars.restore() + it 'should init', -> + @applications.init() + it 'infers a start step when all that changes is a running state', -> Promise.join( @normaliseCurrent(currentState[0])