memcached icon indicating copy to clipboard operation
memcached copied to clipboard

Testing expiration times with Timecop?

Open ghost opened this issue 6 years ago • 0 comments

I'm using memcached 1.8.0 with Rails and I'm wondering if there's an example of using Timecop to test the expiration of a key or do I have to rely on sleep? I was thinking of using Rspec's mocking ability but then I wouldn't really be testing my memcached layer.

ghost avatar Oct 05 '18 14:10 ghost