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

                                                   
              
                          
                                   
                
                                                 
       
     
   
require 'rails_helper'

RSpec.describe HomeController, type: :controller do
  render_views

  describe 'GET #index' do
    it 'redirects to about page' do
      get :index
      expect(response).to redirect_to(about_path)
    end
  end
end