diff --git a/spec/controllers/health_check_controller_spec.rb b/spec/controllers/health_controller_spec.rb similarity index 60% rename from spec/controllers/health_check_controller_spec.rb rename to 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