From 21bd338aec818e61c4df9f864130ed769262a643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Hornburg?= Date: Fri, 16 Aug 2019 18:19:04 -0300 Subject: [PATCH] fix spec --- spec/lib/rdstation/api_response_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/lib/rdstation/api_response_spec.rb b/spec/lib/rdstation/api_response_spec.rb index c3c9267..6ab38ab 100644 --- a/spec/lib/rdstation/api_response_spec.rb +++ b/spec/lib/rdstation/api_response_spec.rb @@ -28,12 +28,6 @@ context "when the response body is not JSON-parseable" do let(:response) { OpenStruct.new(code: 504, body: '') } - it "raises no error" do - expect do - RDStation::ApiResponse.build(response) - end.not_to raise_error - end - it_behaves_like 'call_error_handler' end end