<commit_before>require 'spec_helper'

describe UsersController do
  render_views

  it "index action should render index template" do
    get :index
    response.should render_template(:index)
  end

  it "show action should render show template" do
    get :show, :id => User.make!
    response.should render_template(:show)
  end
<commit_msg>Fixes broken users controller spec<commit_after>require 'spec_helper'

describe UsersController do
  login_user
  render_views

  it "index action should render index template" do
    get :index
    response.should render_template(:index)
  end

  it "show action should render show template" do
    get :show, :id => User.make!
    response.should render_template(:show)
  end

{'fraction_non_alphanumeric': 0.06925207756232687, 'fraction_numerical': 0.0, 'mean_word_length': 4.091549295774648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6333093', 'n_tokens_mistral': 209, 'n_tokens_neox': 202, 'n_words': 73}