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
|
|
|
|
2017-04-09 14:47:25 +02:00
|
|
|
describe 'GET #show' do
|
2016-10-03 17:11:54 +02:00
|
|
|
it 'returns http success' do
|
2017-04-09 14:47:25 +02: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-27 23:12:33 +02:00
|
|
|
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
|