rack-attack/spec/rack_attack_dalli_proxy_spec.rb
2018-06-28 17:08:15 -03:00

10 lines
288 B
Ruby

# frozen_string_literal: true
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