diff --git a/lib/actions/ProjectInstall.js b/lib/actions/ProjectInstall.js index 00d3a5659..763392a8b 100644 --- a/lib/actions/ProjectInstall.js +++ b/lib/actions/ProjectInstall.js @@ -11,8 +11,7 @@ * * Options: * - name (String) a name for new project - * - domain (String) a domain for new project to create the bucket name with - * - notificationEmail (String) email to use for AWS alarms + * - bucket (String) a bucket name for new project * - profile (String) an AWS profile to create the project in. Must be available in ~/.aws/credentials * - region (String) the first region for your new project * - stage (String) the first stage for your new project diff --git a/tests/all.js b/tests/all.js index 052900604..312fd6c95 100644 --- a/tests/all.js +++ b/tests/all.js @@ -27,7 +27,7 @@ describe('All Tests', function() { require('./tests/actions/EndpointDeploy'); require('./tests/actions/EventDeploy'); require('./tests/actions/ProjectInit'); - // require('./tests/actions/ProjectInstall'); // BROKEN. + require('./tests/actions/ProjectInstall'); require('./tests/actions/ResourcesDiff'); require('./tests/actions/PluginCreate'); require('./tests/actions/FunctionRollback'); diff --git a/tests/tests/actions/ProjectInstall.js b/tests/tests/actions/ProjectInstall.js index 2553efc68..e22646761 100644 --- a/tests/tests/actions/ProjectInstall.js +++ b/tests/tests/actions/ProjectInstall.js @@ -31,8 +31,7 @@ let serverless = new Serverless( undefined, { let validateEvent = function(evt) { assert.equal(true, typeof evt.options.name !== 'undefined'); - assert.equal(true, typeof evt.options.domain !== 'undefined'); - assert.equal(true, typeof evt.options.notificationEmail !== 'undefined'); + assert.equal(true, typeof evt.options.bucket !== 'undefined'); assert.equal(true, typeof evt.options.region !== 'undefined'); assert.equal(true, typeof evt.options.noExeCf !== 'undefined'); assert.equal(true, typeof evt.options.stage !== 'undefined'); @@ -119,11 +118,11 @@ describe('Test action: Project Install', function() { this.timeout(0); let name = ('testprj-' + uuid.v4()).replace(/-/g, ''); - let domain = name + '.com'; + let bucket = name + '.com'; let evt = { options: { name: name, - domain: domain, + bucket: bucket, stage: config.stage, region: config.region, profile: config.profile_development,