Sha256: 5dff369a5116ba66ef36479310f6ad4b0066ad00b83b953ef3cd652571dd7755
Contents?: true
Size: 381 Bytes
Versions: 22
Compression:
Stored size: 381 Bytes
Contents
require 'rails_helper' describe LHC::Caching do context 'to_cache' do it 'returns a marshalable object to store in the cache' do expect do response = Typhoeus::Response.new(headers: { 'Accept' => 'application/json' }) Marshal.dump( LHC::Caching.new(response).send(:to_cache, response) ) end.not_to raise_error end end end
Version data entries
22 entries across 22 versions & 1 rubygems