reset_system_before_suite.rb 223 B

123456789
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. RSpec.configure do |config|
  3. config.before(:suite) do
  4. next if !ENV['RESET_BEFORE_SUITE']
  5. Rake::Task['zammad:db:reset'].invoke
  6. end
  7. end