zammad/spec/support/current_attributes.rb
2026-01-02 15:41:09 +02:00

8 lines
230 B
Ruby

# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
RSpec.configure do |config|
# clear ActiveSupport::CurrentAttributes caches
config.after do
ActiveSupport::CurrentAttributes.clear_all
end
end