<commit_before>RSpec.describe 'PACS', type: :request do
  ["/en/tools/#{ToolMountPoint::Pacs::EN_ID}",
   "/cy/tools/#{ToolMountPoint::Pacs::CY_ID}"].each do |path|
    describe path do
      before do
        get(path)
      end

      specify { expect(response).to be_ok }
    end
  end
end
<commit_msg>Update request spec for pacs engine<commit_after>RSpec.describe 'PACS', type: :request do
  ["/en/tools/#{ToolMountPoint::Pacs::EN_ID}",
   "/cy/tools/#{ToolMountPoint::Pacs::CY_ID}"].each do |path|
    describe path do
      before do
        allow(Pacs::PaymentAccountCollection)
          .to receive(:latest).and_return(
            instance_double(
              Pacs::PaymentAccountCollection,
              updated_at: Time.current,
              payment_accounts: []
            )
          )
        get(path)
      end

      specify { expect(response).to be_ok }
    end
  end
end

{'fraction_non_alphanumeric': 0.12709030100334448, 'fraction_numerical': 0.0, 'mean_word_length': 2.4015151515151514, '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': '5385298', 'n_tokens_mistral': 287, 'n_tokens_neox': 282, 'n_words': 57}