I am working on application that has resque and redis. I am using resque_spec to stub resque in request specs and my college though that resque_spec will stub redis but it doesn't. I tried mock_redis and fakeredis gems. I have a problem with mock_redis - it thinks that 'get' is undefined method. I don't have problem with fakeredis. But I want to ask which gem is better - mock_redis or fakeredis and why?
↧