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"