2016-09-28 06:12:33 +09:00
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
RSpec.describe AboutController, type: :controller do
|
2016-11-19 07:08:52 +09:00
|
|
|
render_views
|
2016-09-28 06:12:33 +09:00
|
|
|
|
2016-10-04 00:11:54 +09:00
|
|
|
describe 'GET #index' do
|
|
|
|
it 'returns http success' do
|
2016-09-28 06:12:33 +09:00
|
|
|
get :index
|
|
|
|
expect(response).to have_http_status(:success)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-11-19 07:08:52 +09:00
|
|
|
describe 'GET #terms' do
|
|
|
|
it 'returns http success' do
|
|
|
|
get :terms
|
|
|
|
expect(response).to have_http_status(:success)
|
|
|
|
end
|
|
|
|
end
|
2016-09-28 06:12:33 +09:00
|
|
|
end
|