mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
* Initial Rubocop configuration * Fix Rubocop layout offenses for lib * Fix some spec offenses * Fix leftover layout offenses
8 lines
257 B
Ruby
8 lines
257 B
Ruby
require_relative 'spec_helper'
|
|
|
|
describe Rack::Attack::StoreProxy::DalliProxy do
|
|
it 'should stub Dalli::Client#with on older clients' do
|
|
proxy = Rack::Attack::StoreProxy::DalliProxy.new(Class.new)
|
|
proxy.with {} # will not raise an error
|
|
end
|
|
end
|