From 60300cffa56359fad9a694cd3bec5b46118c83cf Mon Sep 17 00:00:00 2001 From: Steve Agalloco Date: Sun, 9 Jan 2022 14:35:24 -0500 Subject: [PATCH] Fix failing test --- spec/instapaper/http/request_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/instapaper/http/request_spec.rb b/spec/instapaper/http/request_spec.rb index bd0f8ad..1bc77c5 100644 --- a/spec/instapaper/http/request_spec.rb +++ b/spec/instapaper/http/request_spec.rb @@ -10,7 +10,7 @@ describe Instapaper::HTTP::Request do .to_return(status: 503, body: '', headers: {content_type: 'application/json; charset=utf-8'}) end it 'raises a ServerError' do - expect { client.folders }.to raise_error(Instapaper::Error::ServerError) + expect { client.folders }.to raise_error(Instapaper::Error::ServiceUnavailableError) end end