<commit_before>require 'test_helper'

class SiteLayoutTest < ActionDispatch::IntegrationTest

  test 'layout links' do
    get root_path
    assert_template 'static_pages/home'
    assert_select 'a[href=?]', root_path, count: 2
    assert_select 'a[href=?]', help_path
    assert_select 'a[href=?]', about_path
    assert_select 'a[href=?]', contact_path
  end

end<commit_msg>Add signup template integration test<commit_after>require 'test_helper'

class SiteLayoutTest < ActionDispatch::IntegrationTest

  test 'layout links' do
    get root_path
    assert_template 'static_pages/home'
    assert_select 'a[href=?]', root_path, count: 2
    assert_select 'a[href=?]', help_path
    assert_select 'a[href=?]', about_path
    assert_select 'a[href=?]', contact_path
  end

  test 'should get signup' do
    get signup_path
    assert_response :success
    assert_template 'users/new'
    assert_select 'title', "Sign up | Ruby on Rails Tutorial Sample App"
    assert_select 'h1', 'Sign up'
  end

end
{'fraction_non_alphanumeric': 0.1027944111776447, 'fraction_numerical': 0.0029940119760479044, 'mean_word_length': 4.572222222222222, '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': '232550', 'n_tokens_mistral': 336, 'n_tokens_neox': 329, 'n_words': 87}