Sha256: 95367e855e080cccfc936283f4eca5d94270dabfd37dde874025e8050dbcbd0d
Contents?: true
Size: 367 Bytes
Versions: 3
Compression:
Stored size: 367 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 Marshal.dump( LHC::Caching.new.send(:to_cache, Typhoeus::Response.new(headers: { 'Accept' => 'application/json' }) ) ) end.to_not raise_error end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lhc-core-interceptors-2.0.1 | spec/caching/to_cache_spec.rb |
lhc-core-interceptors-2.0.0 | spec/caching/to_cache_spec.rb |
lhc-core-interceptors-1.0.0 | spec/caching/to_cache_spec.rb |