From 29cdbd6de1c25fc03408e4aa86e9faa8a718a4ac Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Thu, 1 Dec 2016 16:44:12 +0100 Subject: [PATCH] fix missing lifecycle updates --- docs/providers/aws/cli-reference/config.md | 2 +- lib/plugins/aws/configCredentials/awsConfigCredentials.test.js | 2 +- lib/plugins/config/config.test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/providers/aws/cli-reference/config.md b/docs/providers/aws/cli-reference/config.md index 606167656..b0f869ed7 100644 --- a/docs/providers/aws/cli-reference/config.md +++ b/docs/providers/aws/cli-reference/config.md @@ -29,7 +29,7 @@ serverless config credentials --provider provider --key key --secret secret ### Provided lifecycle events -- `config:credentials:credentials` +- `config:credentials:config` ### Examples diff --git a/lib/plugins/aws/configCredentials/awsConfigCredentials.test.js b/lib/plugins/aws/configCredentials/awsConfigCredentials.test.js index 5d6b0ea54..350d3e509 100644 --- a/lib/plugins/aws/configCredentials/awsConfigCredentials.test.js +++ b/lib/plugins/aws/configCredentials/awsConfigCredentials.test.js @@ -55,7 +55,7 @@ describe('AwsConfigCredentials', () => { .to.be.true; }); - it('should have a "config:credentials:credentials" hook', () => { + it('should have a "config:credentials:config" hook', () => { expect(awsConfigCredentials.hooks['config:credentials:config']).to.not.equal(undefined); }); diff --git a/lib/plugins/config/config.test.js b/lib/plugins/config/config.test.js index bffb27761..07919c443 100644 --- a/lib/plugins/config/config.test.js +++ b/lib/plugins/config/config.test.js @@ -42,7 +42,7 @@ describe('Config', () => { expect(config.commands.config.commands.credentials.options.provider.required).to.be.true; }); - it('should have a "before:config:credentials:credentials" hook', () => { + it('should have a "before:config:credentials:config" hook', () => { expect(config.hooks['before:config:credentials:config']).to.not.equal(undefined); });