module CacheSupport

Support for tests that depend on Rails.cache

Public Instance Methods

clear_rails_cache() click to toggle source
# File lib/generators/rockstart/security/rack_attack/templates/cache_support.rb, line 5
def clear_rails_cache
  Rails.cache.clear
end