about summary refs log tree commit diff
path: root/spec/controllers/home_controller_spec.rb
blob: cf85c5f79cca74afa97b3b266ea1e17ed3cc6c49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
require 'rails_helper'

RSpec.describe HomeController, type: :controller do
  describe 'GET #index' do
    it 'returns 200' do
      get :index
      expect(response).to redirect_to(new_user_session_path)
    end
  end
end