2016-09-27 22:12:33 +01:00
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
RSpec.describe AboutController, type: :controller do
|
2016-11-18 22:08:52 +00:00
|
|
|
render_views
|
2016-09-27 22:12:33 +01:00
|
|
|
|
2016-10-03 16:11:54 +01:00
|
|
|
describe 'GET #index' do
|
|
|
|
it 'returns http success' do
|
2016-09-27 22:12:33 +01:00
|
|
|
get :index
|
|
|
|
expect(response).to have_http_status(:success)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-11-18 22:08:52 +00:00
|
|
|
describe 'GET #terms' do
|
|
|
|
it 'returns http success' do
|
|
|
|
get :terms
|
|
|
|
expect(response).to have_http_status(:success)
|
|
|
|
end
|
|
|
|
end
|
2016-09-27 22:12:33 +01:00
|
|
|
end
|