1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 14:58:21 +09:00
mastodon/spec/controllers/home_controller_spec.rb

11 lines
223 B
Ruby

require 'rails_helper'
RSpec.describe HomeController, type: :controller do
describe 'GET #index' do
it 'returns 200' do
get :index
expect(response).to redirect_to(new_user_session_path)
end
end
end