diff --git a/sections/testingandquality/aaa.russian.md b/sections/testingandquality/aaa.russian.md index 4fb21221..b74e8f77 100644 --- a/sections/testingandquality/aaa.russian.md +++ b/sections/testingandquality/aaa.russian.md @@ -20,7 +20,7 @@ describe.skip('Customer classifier', () => { test('When customer spent more than 500$, should be classified as premium', () => { //Arrange const customerToClassify = {spent:505, joined: new Date(), id:1} - const DBStub = sinon.stub(dataAccess, "getCustomer") + const DBStub = sinon.stub(dataAccess, 'getCustomer') .reply({id:1, classification: 'regular'}); //Act @@ -38,7 +38,7 @@ describe.skip('Customer classifier', () => { ```javascript test('Should be classified as premium', () => { const customerToClassify = {spent:505, joined: new Date(), id:1} - const DBStub = sinon.stub(dataAccess, "getCustomer") + const DBStub = sinon.stub(dataAccess, 'getCustomer') .reply({id:1, classification: 'regular'}); const receivedClassification = customerClassifier.classifyCustomer(customerToClassify); expect(receivedClassification).toMatch('premium');