mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-25 09:54:43 +00:00
13 lines
240 B
Ruby
13 lines
240 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe HomeController, type: :controller do
|
|
render_views
|
|
|
|
describe 'GET #index' do
|
|
it 'redirects to about page' do
|
|
get :index
|
|
expect(response).to redirect_to(about_path)
|
|
end
|
|
end
|
|
end
|