about summary refs log tree commit diff
path: root/spec/controllers/home_controller_spec.rb
blob: 0b108c96a909af304fb80014d9cd1913163aa21b (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 'redirects to login page' do
      get :index
      expect(response).to redirect_to(new_user_session_path)
    end
  end
end