Skip to content

Commit

Permalink
Edit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fay-stripe committed May 9, 2018
1 parent 750a8ed commit d4068a4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test/resources/IssuerFraudRecords.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var expect = require('chai').expect;

describe('IssuerFraudRecord Resource', function() {
describe('retrieve', function() {
it('Sends the correct request for issfr ID', function() {
it('Sends the correct request', function() {
stripe.issuerFraudRecords.retrieve('issfr_123');
expect(stripe.LAST_REQUEST).to.deep.equal({
method: 'GET',
Expand All @@ -26,14 +26,5 @@ describe('IssuerFraudRecord Resource', function() {
headers: {},
});
});
it('Sends the correct request for charge ID', function() {
stripe.issuerFraudRecords.list({charge: 'ch_123456789'});
expect(stripe.LAST_REQUEST).to.deep.equal({
method: 'GET',
url: '/v1/issuer_fraud_records',
data: {charge: 'ch_123456789'},
headers: {},
});
});
});
});

0 comments on commit d4068a4

Please sign in to comment.