mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
11 lines
235 B
Ruby
11 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
|