<commit_before>require 'spec_helper'

describe 'Gitometer' do
  it 'responds to /' do
    get '/'
    last_response.should be_ok
  end

  it 'responds to /login' do 
    get '/login'
    last_response.should be_redirect
  end

  it 'responds to /logout' do 
    get '/logout'
    last_response.should be_redirect
  end

  it 'responds to /auth/github/callback' do 
    get '/auth/github/callback'
    last_response.should be_redirect
  end
end
<commit_msg>Clarify spec.<commit_after>require 'spec_helper'

describe Gitometer do
  subject { Gitometer.app }

  it 'responds to /' do
    get '/'
    last_response.should be_ok
  end

  it 'responds to /login' do 
    get '/login'
    last_response.should be_redirect
  end

  it 'responds to /logout' do 
    get '/logout'
    last_response.should be_redirect
  end

  it 'responds to /auth/github/callback' do 
    get '/auth/github/callback'
    last_response.should be_redirect
  end
end

{'fraction_non_alphanumeric': 0.08519701810436635, 'fraction_numerical': 0.0, 'mean_word_length': 2.836734693877551, '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': '4595576', 'n_tokens_mistral': 333, 'n_tokens_neox': 316, 'n_words': 91}