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.
glitchier-soc/spec/controllers/home_controller_spec.rb

13 lines
240 B

require 'rails_helper'
RSpec.describe HomeController, type: :controller do
render_views
describe 'GET #index' do
8 years ago
it 'redirects to about page' do
get :index
8 years ago
expect(response).to redirect_to(about_path)
end
end
end