current_attributes.rb 230 B

12345678
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. RSpec.configure do |config|
  3. # clear ActiveSupport::CurrentAttributes caches
  4. config.after do
  5. ActiveSupport::CurrentAttributes.clear_all
  6. end
  7. end