diff --git a/README.md b/README.md index 5d68d35..b6daf0e 100644 --- a/README.md +++ b/README.md @@ -1468,9 +1468,10 @@ Raises SODA::Client.new(timeout: 1) ``` -Connect timeout is not configurable at the moment +Raises -Raises `Net::ReadTimeout` on read timeout +- `Net::OpenTimeout` on connect timeout +- `Net::ReadTimeout` on read timeout ### soundcloud diff --git a/test/soda_ruby_test.rb b/test/soda_ruby_test.rb index 820fd7d..bdbae10 100644 --- a/test/soda_ruby_test.rb +++ b/test/soda_ruby_test.rb @@ -2,8 +2,6 @@ class SodaRubyTest < Minitest::Test def test_connect - skip # no connect timeout - client = SODA::Client.new(domain: connect_host, timeout: 1) assert_timeout(Net::OpenTimeout) do client.get("test")