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