From 2603c7e69f54514861e18dbca0180010c955d8ff Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 27 Sep 2016 23:23:23 +0200 Subject: Fix tests --- spec/controllers/home_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') 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 -- cgit