Sha256: b0ea7817a3f23408e6d9037af1b292a29b8bf15fa4da22f0e4cc701cf07cb001
Contents?: true
Size: 343 Bytes
Versions: 5
Compression:
Stored size: 343 Bytes
Contents
require 'rails_helper' describe LHC::Response do context 'headers' do let(:options) do { 'return_code' => :ok } end let(:raw_response) { OpenStruct.new(options: options) } it 'provides headers' do response = described_class.new(raw_response, nil) expect(response.options).to eq options end end end
Version data entries
5 entries across 5 versions & 1 rubygems