about_controller_spec.rb 257 B

123456789101112131415
  1. require 'rails_helper'
  2. RSpec.describe AboutController, type: :controller do
  3. render_views
  4. describe 'GET #show' do
  5. before do
  6. get :show
  7. end
  8. it 'returns http success' do
  9. expect(response).to have_http_status(200)
  10. end
  11. end
  12. end