Sha256: cbe337ad6fbcbee264927cc008b39b66e7da91b65c92fb0f90482da8f38174ed
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true require "test_helper" class RawResponseTest < Minitest::Test test "returns body as it is (raw)" do register_uri(:get, "http://example.org/", body: "HELLO", content_type: "text/plain") response = Aitch.get("http://example.org/") assert_equal "HELLO", response.body end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aitch-1.0.2 | test/aitch/response/raw_response_test.rb |
aitch-1.0.1 | test/aitch/response/raw_response_test.rb |
aitch-1.0.0 | test/aitch/response/raw_response_test.rb |