diff options
| author | mo khan <mokhan@users.noreply.github.com> | 2019-02-01 14:31:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-01 14:31:24 -0700 |
| commit | c9117d639d697e3b433695c00a217aa2bbff6f2e (patch) | |
| tree | 491ecd195bfff20e6ef04b03ab0ef6ed3e4e87bf /test/net/client_test.rb | |
| parent | 483539fb5fd36c8085c25ab3b2287561fd62a373 (diff) | |
| parent | 51b686b39ff2056092b786501e5b9de3dea53e9e (diff) | |
Merge pull request #1 from awebz/open_timeoutv0.2.2
Adding open timeout attribute
Diffstat (limited to 'test/net/client_test.rb')
| -rw-r--r-- | test/net/client_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/net/client_test.rb b/test/net/client_test.rb index e20dffb..53f9b1f 100644 --- a/test/net/client_test.rb +++ b/test/net/client_test.rb @@ -229,4 +229,10 @@ class ClientTest < Minitest::Test end assert(@called) end + + def test_open_timeout_setting + assert_equal subject.open_timeout, nil + @subject.open_timeout = 10 + assert_equal subject.open_timeout, 10 + end end |
