<commit_before>require 'test_helper'

class MedicalConditionsControllerTest < ActionDispatch::IntegrationTest
  test "should get new" do
    get medical_conditions_new_url
    assert_response :success
  end

  test "should get index" do
    get medical_conditions_index_url
    assert_response :success
  end

  test "should get show" do
    get medical_conditions_show_url
    assert_response :success
  end

end
<commit_msg>Fix tests<commit_after>require 'test_helper'

class MedicalConditionsControllerTest < ActionDispatch::IntegrationTest

  def setup
    @user = users(:david)
    log_in_as(@user)
  end

  test "should get new" do
    get new_medical_condition_url
    assert_response :success
  end

  test "should get index" do
    get medical_conditions_path
    assert_response :success
  end

end

{'fraction_non_alphanumeric': 0.048207663782447466, 'fraction_numerical': 0.0, 'mean_word_length': 4.259740259740259, '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': '138503', 'n_tokens_mistral': 244, 'n_tokens_neox': 237, 'n_words': 69}