diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 23:23:23 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-27 23:23:23 +0200 |
commit | 2603c7e69f54514861e18dbca0180010c955d8ff (patch) | |
tree | 8255f2eefcc252986c61ef542c1fd0559a75e6d1 /spec/controllers | |
parent | e63aebff7a4d978fddd7ed3ddc184ed300843a57 (diff) |
Fix tests
Diffstat (limited to 'spec/controllers')
-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 |