Sha256: f890065cb2e482ae475022c62049dea75730722ae680ec3d2e7c0019cacc5e7f
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
require 'rails_helper' describe LHC::Response do context 'headers' do let(:headers) do { 'Content-Encoding' => 'UTF-8' } end let(:raw_response) { OpenStruct.new({ headers: headers }) } it 'provides headers' do response = LHC::Response.new(raw_response, nil) expect(response.headers).to eq headers end end end
Version data entries
10 entries across 10 versions & 1 rubygems