trabajo-afectivo/spec/support/reset_system_before_suite.rb
2022-01-01 14:38:12 +01:00

9 lines
223 B
Ruby

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