Browse Source

Fix tests

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
2603c7e69f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      spec/controllers/home_controller_spec.rb

+ 2
- 2
spec/controllers/home_controller_spec.rb View File

@ -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

Loading…
Cancel
Save