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