Sha256: 675890b15da90cb0a6f7490a7ac1c0b83fd040aa6bbb520997ee9c914bcec4e2

Contents?: true

Size: 316 Bytes

Versions: 19

Compression:

Stored size: 316 Bytes

Contents

RSpec.configure do |config|
  config.before do |spec|
    enabled = spec.metadata.key?(:request_cycle_cache) && spec.metadata[:request_cycle_cache] == true
    enabled ||= false
    LHS.config.request_cycle_cache_enabled = enabled
    LHS.config.request_cycle_cache = ActiveSupport::Cache::MemoryStore.new
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
lhs-16.1.5 spec/support/request_cycle_cache.rb
lhs-16.1.4 spec/support/request_cycle_cache.rb
lhs-16.1.3 spec/support/request_cycle_cache.rb
lhs-16.1.2 spec/support/request_cycle_cache.rb
lhs-16.1.1 spec/support/request_cycle_cache.rb
lhs-16.1.0 spec/support/request_cycle_cache.rb
lhs-16.0.1 spec/support/request_cycle_cache.rb
lhs-16.0.0 spec/support/request_cycle_cache.rb
lhs-15.7.0 spec/support/request_cycle_cache.rb
lhs-15.6.1 spec/support/request_cycle_cache.rb
lhs-15.6.0 spec/support/request_cycle_cache.rb
lhs-15.5.1 spec/support/request_cycle_cache.rb
lhs-15.5.0 spec/support/request_cycle_cache.rb
lhs-15.4.1 spec/support/request_cycle_cache.rb
lhs-15.4.0 spec/support/request_cycle_cache.rb
lhs-15.4.0.pre.hasone.1 spec/support/request_cycle_cache.rb
lhs-15.3.3 spec/support/request_cycle_cache.rb
lhs-15.3.3.pre.fixoptions.1 spec/support/request_cycle_cache.rb
lhs-15.3.2 spec/support/request_cycle_cache.rb