Sha256: 81b294181cf6365e27a4cc1f85a58ad5b145e58fb3f1483d3480cd9477486ff3
Contents?: true
Size: 353 Bytes
Versions: 21
Compression:
Stored size: 353 Bytes
Contents
require 'rest-core/test' describe RC::DefaultHeaders do app = RC::DefaultHeaders.new(RC::Dry.new, 'a' => 'b') would 'also merge the very default headers' do app.call('headers' => {'b' => 'c'}, RC::REQUEST_HEADERS => {'c' => 'd'}) do |r| r[RC::REQUEST_HEADERS].should.eq 'a' => 'b', 'b' => 'c', 'c' => 'd' end end end
Version data entries
21 entries across 21 versions & 1 rubygems