about summary refs log tree commit diff
path: root/spec/controllers
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-09 08:47:25 -0400
committerEugen <eugen@zeonfederated.com>2017-04-09 14:47:25 +0200
commite5282e4ec0e9dab62dde9481284b0cfd30690fb9 (patch)
tree9af1aadcf9dc34338c828edb3ed9a9aa265b05e6 /spec/controllers
parent53eb31f124b8cb366f45ac0aec36e346115e334f (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.rb11
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