1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-25 12:08:29 +09:00
YuruToot/spec/controllers/home_controller_spec.rb

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