spec/cachetastic/adapters/base_spec.rb in cachetastic-3.5.0 vs spec/cachetastic/adapters/base_spec.rb in cachetastic-3.5.1

- old
+ new

@@ -152,10 +152,10 @@ CarCache.get(:bmw).should be_nil CarCache.set(:bmw, 'Beamer!') CarCache.get(:bmw).should_not be_nil end - unless adapter == "Memcached" + unless ["Memcached", "Redis"].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)