diff options
-rw-r--r-- | spec/controllers/home_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb index 0b108c96a..ec2e3b67c 100644 --- a/spec/controllers/home_controller_spec.rb +++ b/spec/controllers/home_controller_spec.rb @@ -2,9 +2,9 @@ require 'rails_helper' RSpec.describe HomeController, type: :controller do describe 'GET #index' do - it 'redirects to login page' do + it 'redirects to about page' do get :index - expect(response).to redirect_to(new_user_session_path) + expect(response).to redirect_to(about_path) end end end |