1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/controllers/home_controller_spec.rb

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