diff --git a/spec/integration/rack_attack_cache_spec.rb b/spec/integration/rack_attack_cache_spec.rb index 14bec01..faa1eef 100644 --- a/spec/integration/rack_attack_cache_spec.rb +++ b/spec/integration/rack_attack_cache_spec.rb @@ -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