diff --git a/spec/support/caching.rb b/spec/support/caching.rb index 42856f5dd..1eb97a028 100644 --- a/spec/support/caching.rb +++ b/spec/support/caching.rb @@ -1,5 +1,5 @@ RSpec.configure do |config| - config.around(:all, :caching) do |example| + config.around(:example, :caching) do |example| caching_was = ActionController::Base.perform_caching cache_store_was = Rails.cache