diff --git a/test/resources/Faxes.spec.js b/test/resources/Faxes.spec.js index 853be5e..474d021 100644 --- a/test/resources/Faxes.spec.js +++ b/test/resources/Faxes.spec.js @@ -17,11 +17,9 @@ var faxCreateData = { describe('Faxes Resource', function () { describe('retrieve', function () { function responseFn(response) { - // expect(response.data).to.have.property('fax_id'); expect(response.data).to.have.property('connection_id'); expect(response.data).to.have.property('media_url'); expect(response.data).to.have.property('to'); - // expect(response.data).to.include({record_type: 'fax'}); } it('Sends the correct request', function () { @@ -35,11 +33,9 @@ describe('Faxes Resource', function () { describe('create', function () { function responseFn(response) { - // expect(response.data).to.have.property('fax_id'); expect(response.data).to.have.property('connection_id'); expect(response.data).to.have.property('media_url'); expect(response.data).to.have.property('to'); - // expect(response.data).to.include({record_type: 'fax'}); } it('Sends the correct request', function () { @@ -61,11 +57,9 @@ describe('Faxes Resource', function () { describe('send', function () { function responseFn(response) { - // expect(response.data).to.have.property('fax_id'); expect(response.data).to.have.property('connection_id'); expect(response.data).to.have.property('media_url'); expect(response.data).to.have.property('to'); - // expect(response.data).to.include({record_type: 'fax'}); } it('Sends the correct request', function () { @@ -87,11 +81,9 @@ describe('Faxes Resource', function () { describe('list', function () { function responseFn(response) { - // expect(response.data[0]).to.have.property('fax_id'); expect(response.data[0]).to.have.property('connection_id'); expect(response.data[0]).to.have.property('media_url'); expect(response.data[0]).to.have.property('to'); - // expect(response.data[0]).to.include({record_type: 'fax'}); } it('Sends the correct request', function () { @@ -106,11 +98,9 @@ describe('Faxes Resource', function () { describe('Nested', function () { function responseFn(response) { if (response.data) { - // expect(response.data).to.have.property('fax_id'); expect(response.data).to.have.property('connection_id'); expect(response.data).to.have.property('media_url'); expect(response.data).to.have.property('to'); - // expect(response.data).to.include({record_type: 'fax'}); } }