Fix typo in JSON.stringify usages

This commit is contained in:
Philipp Muens 2016-06-14 11:31:06 +02:00
parent 8031d07d1b
commit 01afb8aefe
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ describe('#compileDeployment()', () => {
it('should create a deployment resource', () => {
awsCompileApigEvents.compileDeployment().then(() => {
expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
.to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources));
});
});

View File

@ -42,7 +42,7 @@ describe('#compileRestApi()', () => {
it('should create a REST API resource', () => {
awsCompileApigEvents.compileRestApi().then(() => {
expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
.to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources));
});
});

View File

@ -43,7 +43,7 @@ describe('#compileStage()', () => {
it('should create a stage resource', () => {
awsCompileApigEvents.compileStage().then(() => {
expect(JSON.strigify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
expect(JSON.stringify(awsCompileApigEvents.serverless.service.resources.aws.Resources))
.to.equal(JSON.stringify(serviceResourcesAwsResourcesObjectMock.Resources));
});
});