diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-09 08:47:25 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-09 14:47:25 +0200 |
commit | e5282e4ec0e9dab62dde9481284b0cfd30690fb9 (patch) | |
tree | 9af1aadcf9dc34338c828edb3ed9a9aa265b05e6 /spec/controllers | |
parent | 53eb31f124b8cb366f45ac0aec36e346115e334f (diff) |
Clean up about page (#1282)
* Add InstancePresenter to expose site details * Clean up about controller, use instance presenter
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/about_controller_spec.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/spec/controllers/about_controller_spec.rb b/spec/controllers/about_controller_spec.rb index 4282649e1..f49de9622 100644 --- a/spec/controllers/about_controller_spec.rb +++ b/spec/controllers/about_controller_spec.rb @@ -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 |