about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-27 23:23:23 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-27 23:23:23 +0200
commit2603c7e69f54514861e18dbca0180010c955d8ff (patch)
tree8255f2eefcc252986c61ef542c1fd0559a75e6d1
parente63aebff7a4d978fddd7ed3ddc184ed300843a57 (diff)
Fix tests
-rw-r--r--spec/controllers/home_controller_spec.rb4
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