<commit_before>require 'test_helper'

class UpdatePatientInfoTest < ActionDispatch::IntegrationTest
  before do
    Capybara.current_driver = :poltergeist
    @user = create :user
    @clinic = create :clinic, accepts_naf: true
    @patient = create :patient
    @pregnancy = create :pregnancy, patient: @patient
    @ext_pledge = create :external_pledge,
                         patient: @patient,
                         source: 'Baltimore Abortion Fund'
    log_in_as @user
    visit edit_patient_path @patient
    has_text? 'First and last name' # wait until page loads
    page.driver.resize(2000, 2000)
  end
<commit_msg>remove leftover change<commit_after>require 'test_helper'

class UpdatePatientInfoTest < ActionDispatch::IntegrationTest
  before do
    Capybara.current_driver = :poltergeist
    @user = create :user
    @clinic = create :clinic
    @patient = create :patient
    @pregnancy = create :pregnancy, patient: @patient
    @ext_pledge = create :external_pledge,
                         patient: @patient,
                         source: 'Baltimore Abortion Fund'
    log_in_as @user
    visit edit_patient_path @patient
    has_text? 'First and last name' # wait until page loads
    page.driver.resize(2000, 2000)
  end

{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 2.965079365079365, 'pattern_counts': {'":': 0, '<': 5, '<?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': '665220', 'n_tokens_mistral': 393, 'n_tokens_neox': 358, 'n_words': 102}