diff options
| author | mokha <mokha@cisco.com> | 2018-11-10 10:10:19 -0700 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-11-10 10:10:19 -0700 |
| commit | 75b658de7a773321e4f5f77b458caa7d5c488aad (patch) | |
| tree | 1e4af4025b4a27194f57ad492dde3e9a38b158e3 /test | |
| parent | bd4e24325b76740c91a96080a3cee9d732c960db (diff) | |
ensure response it 200
Diffstat (limited to 'test')
| -rw-r--r-- | test/net/client_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/net/client_test.rb b/test/net/client_test.rb index 2037cfd..f665d9d 100644 --- a/test/net/client_test.rb +++ b/test/net/client_test.rb @@ -28,6 +28,7 @@ class ClientTest < Minitest::Test client.get(uri) end refute_nil response + assert_equal response.class, Net::HTTPOK assert_equal('true', JSON.parse(response.body)['success']) end |
