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.

12 lines
240 B

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