Clean up about page (#1282)
* Add InstancePresenter to expose site details * Clean up about controller, use instance presenter
This commit is contained in:
parent
53eb31f124
commit
e5282e4ec0
8 changed files with 175 additions and 55 deletions
|
@ -3,9 +3,16 @@ require 'rails_helper'
|
|||
RSpec.describe AboutController, type: :controller do
|
||||
render_views
|
||||
|
||||
describe 'GET #index' do
|
||||
describe 'GET #show' do
|
||||
it 'returns http success' do
|
||||
get :index
|
||||
get :show
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'GET #more' do
|
||||
it 'returns http success' do
|
||||
get :more
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue