mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-18 00:02:12 -05:00
13 lines
237 B
Ruby
13 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Requests
|
|
module Get
|
|
def test_http_get
|
|
uri = build_uri("/")
|
|
response = HTTPX.get(uri)
|
|
verify_status(response.status, 200)
|
|
verify_body_length(response)
|
|
end
|
|
end
|
|
end
|