<commit_before>RSpec.describe AcceptOn::API::Refunding do
  subject(:client) { AcceptOn::Client.new(api_key: 'skey_123') }

  describe '#refund' do
    let(:refund_request) { stub_post('/v1/refunds') }

    subject { client.refund(params) }

    context 'for a complete request' do
      let(:params) { {amount: 1_00, authorization_id: 'chg_123'} }

      before do
        refund_request.to_return(body: fixture('refund.json'), headers: {content_type: 'application/json'})
      end

      it 'requests the correct resource' do
        subject
        expect(refund_request).to have_been_made
      end
<commit_msg>Fix missed test configuration<commit_after>RSpec.describe AcceptOn::API::Refunding do
  subject(:client) { AcceptOn::Client.new(api_key: 'skey_123') }

  describe '#refund' do
    let(:refund_request) { stub_post('/v1/refunds') }

    subject { client.refund(params) }

    context 'for a complete request' do
      let(:params) { {amount: 1_00, charge_id: 'chg_123'} }

      before do
        refund_request.to_return(body: fixture('refund.json'), headers: {content_type: 'application/json'})
      end

      it 'requests the correct resource' do
        subject
        expect(refund_request).to have_been_made
      end

{'fraction_non_alphanumeric': 0.12248186946011282, 'fraction_numerical': 0.016116035455278, 'mean_word_length': 3.5661764705882355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5813361', 'n_tokens_mistral': 417, 'n_tokens_neox': 391, 'n_words': 87}