Skip to content

Commit

Permalink
update specs while fields are not included
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasassisrosa committed Jul 14, 2020
1 parent 16103c7 commit ac787a9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/resources/Faxes.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand All @@ -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 () {
Expand All @@ -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 () {
Expand All @@ -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 () {
Expand All @@ -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'});
}
}

Expand Down

0 comments on commit ac787a9

Please sign in to comment.