about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-04-05 14:59:05 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-04-05 15:21:38 +0200
commit5c225b03db280c94dc3519dc5bad2cac86487e9b (patch)
tree0d6b014047fa80270377b83e313aa882923c9429
parent2ae8c41e5d71e1a58dbdb07f4bc11a5fb677c1db (diff)
Fix glitch-soc-specific health check spec
-rw-r--r--spec/controllers/health_controller_spec.rb (renamed from spec/controllers/health_check_controller_spec.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/health_check_controller_spec.rb b/spec/controllers/health_controller_spec.rb
index c00600c9b..1e41f6ed7 100644
--- a/spec/controllers/health_check_controller_spec.rb
+++ b/spec/controllers/health_controller_spec.rb
@@ -1,10 +1,10 @@
 require 'rails_helper'
 
-describe HealthCheck::HealthCheckController do
+describe HealthController do
   render_views
 
   describe 'GET #show' do
-    subject(:response) { get :index, params: { format: :json } }
+    subject(:response) { get :show, params: { format: :json } }
 
     it 'returns the right response' do
       expect(response).to have_http_status 200