mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-10 01:25:15 +00:00
Fix tests
This commit is contained in:
parent
e63aebff7a
commit
2603c7e69f
|
@ -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…
Reference in a new issue