[rspec-users] How to access local variable(s) of controller methods called via RSpec in Rails 3

Mohnish G j lists at ruby-forum.com
Fri Nov 18 05:42:38 EST 2011


> Now you probably want to specify how/when the cache expires as well, but
> that's a different matter. This only covers the caching itself.
>
> HTH,
> David

Thanks David, your inputs were really useful. How do you suggest I can
test expiry of cache in this scenario. Are there any common strategies
for this too?

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list