Sha256: 34e685085c9fdcb25737b05ace617af1bba1d2d9449ac3acf3550e8d4edf5975
Contents?: true
Size: 596 Bytes
Versions: 18
Compression:
Stored size: 596 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Pupa::Processor::Client do describe '.new' do it 'should use the filesystem' do ActiveSupport::Cache::FileStore.should_receive(:new).and_call_original Pupa::Processor::Client.new(cache_dir: '/tmp', level: 'UNKNOWN').get('http://example.com/') end it 'should use Memcached' do ActiveSupport::Cache::MemCacheStore.should_receive(:new).and_call_original Pupa::Processor::Client.new(cache_dir: 'memcached://localhost', level: 'UNKNOWN').get('http://example.com/') end end end
Version data entries
18 entries across 18 versions & 1 rubygems