about summary refs log tree commit diff
path: root/spec/controllers/home_controller_spec.rb
blob: 0215495b745d1ec8600937d620ef5ebf058a45f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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