From 5c225b03db280c94dc3519dc5bad2cac86487e9b Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 5 Apr 2021 14:59:05 +0200 Subject: Fix glitch-soc-specific health check spec --- spec/controllers/health_check_controller_spec.rb | 13 ------------- spec/controllers/health_controller_spec.rb | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 spec/controllers/health_check_controller_spec.rb create mode 100644 spec/controllers/health_controller_spec.rb diff --git a/spec/controllers/health_check_controller_spec.rb b/spec/controllers/health_check_controller_spec.rb deleted file mode 100644 index c00600c9b..000000000 --- a/spec/controllers/health_check_controller_spec.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'rails_helper' - -describe HealthCheck::HealthCheckController do - render_views - - describe 'GET #show' do - subject(:response) { get :index, params: { format: :json } } - - it 'returns the right response' do - expect(response).to have_http_status 200 - end - end -end diff --git a/spec/controllers/health_controller_spec.rb b/spec/controllers/health_controller_spec.rb new file mode 100644 index 000000000..1e41f6ed7 --- /dev/null +++ b/spec/controllers/health_controller_spec.rb @@ -0,0 +1,13 @@ +require 'rails_helper' + +describe HealthController do + render_views + + describe 'GET #show' do + subject(:response) { get :show, params: { format: :json } } + + it 'returns the right response' do + expect(response).to have_http_status 200 + end + end +end -- cgit