test/integration/faraday_middleware_test.rb in circuitbox-0.10.1 vs test/integration/faraday_middleware_test.rb in circuitbox-0.10.2

- old
+ new

@@ -40,10 +40,11 @@ def test_open_circuit_response open_circuit open_circuit_response = connection.get(failure_url) assert_equal open_circuit_response.status, 503 - assert open_circuit_response.original_response.nil? + assert_nil open_circuit_response.original_response + assert_kind_of Circuitbox::OpenCircuitError, open_circuit_response.original_exception end def test_closed_circuit_response result = connection.get(success_url) assert result.success?