mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
13 lines
365 B
Ruby
13 lines
365 B
Ruby
# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
RSpec.configure do |config|
|
|
|
|
# Rack attack has no rolling time periods. Make sure it works consistently
|
|
# also in slow CI situations.
|
|
# See https://github.com/rack/rack-attack/issues/601
|
|
config.around(:each, :rack_attack) do |example|
|
|
freeze_time
|
|
|
|
example.run
|
|
end
|
|
end
|