<commit_before>require 'test_helper'

describe UsersController do
  it 'renders views with extra features from default characters' do
    get :show, params: { id: '1' }
    assert_template :show
    assert_select 'a', 'm( O.O )m'
  end

  it 'renders objects with extra features from specified characters' do
    get :edit, params: { id: '1' }
    assert_equal "Yay! Special title", response.body<commit_msg>Generate test user<commit_after>require 'test_helper'

describe UsersController do
  it 'renders views with extra features from default characters' do
    user = User.create!(name: "Jim")
    get :show, params: { id: user.id }
    assert_template :show
    assert_select 'a', 'm( O.O )m'
  end

  it 'renders objects with extra features from specified characters' do
    user = User.create!(name: "Jim")
    get :edit, params: { id: user.id }
    assert_equal "Yay! Special title", response.body
{'fraction_non_alphanumeric': 0.10188261351052048, 'fraction_numerical': 0.0022148394241417496, 'mean_word_length': 3.8864864864864863, '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': '2942074', 'n_tokens_mistral': 279, 'n_tokens_neox': 272, 'n_words': 103}