require 'spec_helper'

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

require 'spec_helper'

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

  it 'responds to /commits.json' do 
    get '/commits.json' 
    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
  
  it 'responds to /redirect_to' do
    get '/redirect_to'
    last_response.should be_redirect
  end
end

Add test to ensure all of the routes are responding.
Add test to ensure all of the routes are responding.
