Skip to content

Commit

Permalink
Update error_handling_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields authored Nov 21, 2023
1 parent 4c59ce5 commit d32166f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/error_handling_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d32166f

Please sign in to comment.