mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 07:13:44 +01:00
10 lines
235 B
Ruby
10 lines
235 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe HomeController, type: :controller do
|
|
describe 'GET #index' do
|
|
it 'redirects to login page' do
|
|
get :index
|
|
expect(response).to redirect_to(new_user_session_path)
|
|
end
|
|
end
|
|
end
|