mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Don't memoize in test
I don’t think this has any side effect, but still…
This commit is contained in:
parent
5d72c6e5f9
commit
5ff5bf44ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue