spec/cachetastic/adapters/base_spec.rb in cachetastic-3.5.3 vs spec/cachetastic/adapters/base_spec.rb in cachetastic-3.6.0

- old
+ new

@@ -87,11 +87,11 @@ end end - ['LocalMemory', 'File', 'Memcached', 'Redis'].each do |adapter| + ['LocalMemory', 'File', 'Memcached', 'Redis', 'Dalli'].each do |adapter| describe "#{adapter} (Common)" do before(:each) do configatron.cachetastic.defaults.adapter = "Cachetastic::Adapters::#{adapter}".constantize @@ -149,10 +149,10 @@ CarCache.get(:bmw).should be_nil CarCache.set(:bmw, 'Beamer!') CarCache.get(:bmw).should_not be_nil end - unless ["Memcached", "Redis"].include?(adapter) + unless ["Memcached", "Redis", "Dalli"].include?(adapter) it 'should set an object into the cache with an expiry' do CarCache.get(:bmw).should be_nil CarCache.set(:bmw, 'Beamer!', 1) CarCache.get(:bmw).should_not be_nil Timecop.travel(1.hour.from_now)