Sha256: 808c142dfb08f2366051170b815c485cc1360578e40e7a69a77c6d7e1f0db846

Contents?: true

Size: 280 Bytes

Versions: 134

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.before(:each, caching: true) do
    ActionController::Base.perform_caching = true
  end

  config.after(:each, caching: true) do
    ActionController::Base.perform_caching = false
    Rails.cache.clear
  end
end

Version data entries

134 entries across 134 versions & 2 rubygems

Version Path
solidus_api-4.4.1 lib/spree/api/testing_support/caching.rb
solidus_api-4.4.0 lib/spree/api/testing_support/caching.rb
solidus_api-4.3.4 lib/spree/api/testing_support/caching.rb
solidus_api-4.2.4 lib/spree/api/testing_support/caching.rb
solidus_api-4.1.5 lib/spree/api/testing_support/caching.rb
solidus_api-4.3.3 lib/spree/api/testing_support/caching.rb
solidus_api-4.3.2 lib/spree/api/testing_support/caching.rb
solidus_api-4.1.4 lib/spree/api/testing_support/caching.rb
solidus_api-4.3.1 lib/spree/api/testing_support/caching.rb
solidus_api-4.3.0 lib/spree/api/testing_support/caching.rb
solidus_api-4.2.3 lib/spree/api/testing_support/caching.rb
solidus_api-4.1.3 lib/spree/api/testing_support/caching.rb
solidus_api-4.0.4 lib/spree/api/testing_support/caching.rb
solidus_api-3.4.6 lib/spree/api/testing_support/caching.rb
solidus_api-4.0.3 lib/spree/api/testing_support/caching.rb
solidus_api-4.1.2 lib/spree/api/testing_support/caching.rb
solidus_api-4.2.2 lib/spree/api/testing_support/caching.rb
solidus_api-3.4.5 lib/spree/api/testing_support/caching.rb
solidus_api-4.2.1 lib/spree/api/testing_support/caching.rb
solidus_api-4.2.0 lib/spree/api/testing_support/caching.rb