commit: 2603c7e69f54514861e18dbca0180010c955d8ff
parent: e63aebff7a4d978fddd7ed3ddc184ed300843a57
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Tue, 27 Sep 2016 23:23:23 +0200
Fix tests
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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