Sha256: 7eeba97451dc8f16939645481067d924c65d73ea7817175206accb3f1a25a0ac
Contents?: true
Size: 412 Bytes
Versions: 49
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true 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
49 entries across 49 versions & 1 rubygems