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