Sha256: a6562671b58daf0dc9e53b73bc8203a4c58bef819f8249a374a4f6450428bc5d

Contents?: true

Size: 474 Bytes

Versions: 20

Compression:

Stored size: 474 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  describe Engine do
    describe 'cache configuration' do
      it 'enables ActionController caching' do
        expect(ActionController::Base.perform_caching).to be true
      end

      it 'uses ActiveSupport::Cache::MemoryStore' do
        expect(Rails.cache).to be_a(ActiveSupport::Cache::MemoryStore)
        expect(ActionController::Base.cache_store).to be_a(ActiveSupport::Cache::MemoryStore)
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mno-enterprise-core-3.4.0 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.3.3 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.3.2 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.2.1 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.3.1 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.3.0 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.2.0 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.1.4 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.7 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.1.3 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.6 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.1.2 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.5 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.1.1 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.4 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.1.0 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.3 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.2 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.1 spec/lib/mno_enterprise/core_engine_spec.rb
mno-enterprise-core-3.0.0 spec/lib/mno_enterprise/core_engine_spec.rb