Don't memoize in test

I don’t think this has any side effect, but still…
This commit is contained in:
hakanensari 2014-04-17 18:21:13 +01:00
parent 5d72c6e5f9
commit 5ff5bf44ba

View file

@ -30,7 +30,7 @@ describe Rack::Attack::Cache do
describe "with #{store.class}" do
before {
@cache ||= Rack::Attack::Cache.new
@cache = Rack::Attack::Cache.new
@key = "rack::attack:cache-test-key"
@expires_in = 1
@cache.store = store