闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
224 B

8 years ago
8 years ago
  1. require 'rails_helper'
  2. RSpec.describe HomeController, type: :controller do
  3. describe 'GET #index' do
  4. it 'redirects to about page' do
  5. get :index
  6. expect(response).to redirect_to(about_path)
  7. end
  8. end
  9. end