From fe96375110f327695632c2e92fbcec24cdad3090 Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Mon, 1 Jun 2020 16:46:23 -0500 Subject: [PATCH] Set Redis URL that will not be reused in specs (#8227) --- spec/requests/api/v0/health_checks_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/api/v0/health_checks_spec.rb b/spec/requests/api/v0/health_checks_spec.rb index 708569523..7b83c7924 100644 --- a/spec/requests/api/v0/health_checks_spec.rb +++ b/spec/requests/api/v0/health_checks_spec.rb @@ -59,7 +59,7 @@ RSpec.describe "HealthCheck", type: :request do end it "returns json failure if connection check fails" do - ENV["REDIS_URL"] = "redis://redis:6379" + ENV["REDIS_SESSIONS_URL"] = "redis://redis:6379" redis_obj = Redis.new allow(Redis).to receive(:new).and_return(redis_obj) allow(redis_obj).to receive(:ping).and_return("fail")