Sha256: 4eb32bbbc8422907dfd27b1a79f2f88e27e6c99e08a699303c7d5cd6959c7ae7
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
require 'spec_helper' require 'rails' describe BitzerStore do context ".configure" do it "set cache_store config" do c = Rails::Application::Configuration.new BitzerStore.configure(c) do |cache| cache.common_setting :dalli, "localhost:11211", :expires_in => 600 cache.default :namespace => "tsuka" end expect(c.cache_store).to eq([:bitzer_store, {:default=>[:dalli, "localhost:11211", {:expires_in=>600, :namespace=>"tsuka"}]}]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bitzer_store-0.0.3 | spec/unit/bitzer_store_spec.rb |
bitzer_store-0.0.2 | spec/unit/bitzer_store_spec.rb |