diff --git a/config/routes.rb b/config/routes.rb index 52ef81173..1965cc767 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ get "/healthcheck", to: GovukHealthcheck.rack_response( GovukHealthcheck::ActiveRecord, - GovukHealthcheck::SidekiqRedis, + GovukHealthcheck::Redis, ) resources "local_authorities", only: %i[index show], param: :local_authority_slug do diff --git a/spec/requests/healthcheck_spec.rb b/spec/requests/healthcheck_spec.rb index f86eaf063..525ca925c 100644 --- a/spec/requests/healthcheck_spec.rb +++ b/spec/requests/healthcheck_spec.rb @@ -16,6 +16,6 @@ it "returns redis connections status" do json = JSON.parse(response.body) - expect(json["checks"]).to include("redis_connectivity") + expect(json["checks"]).to include("redis") end end