From d32166f952cfd8f0e7841462dc9501d3dba2eca5 Mon Sep 17 00:00:00 2001 From: Johnny Shields <27655+johnnyshields@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:35:17 +0900 Subject: [PATCH] Update error_handling_spec.rb --- spec/acceptance/error_handling_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/error_handling_spec.rb b/spec/acceptance/error_handling_spec.rb index ae27993b..07c2eda9 100644 --- a/spec/acceptance/error_handling_spec.rb +++ b/spec/acceptance/error_handling_spec.rb @@ -32,7 +32,7 @@ end describe 'when raising Redis::BaseError' do - let(:raised_error) { stub_const('Redis::BaseError', Class.new(StandardError)) } + let(:raised_error) { stub_const('Redis::BaseConnectionError', Class.new(StandardError)) } it 'allows the response' do get "/", {}, "REMOTE_ADDR" => "1.2.3.4"