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