2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2018-09-28 15:05:39 +00:00
|
|
|
RSpec.configure do |config|
|
|
|
|
config.before(:suite) do
|
2019-01-08 08:17:18 +00:00
|
|
|
next if !ENV['RESET_BEFORE_SUITE']
|
2018-10-18 12:07:08 +00:00
|
|
|
|
2018-10-02 14:25:04 +00:00
|
|
|
Rake::Task['zammad:db:reset'].invoke
|
2018-09-28 15:05:39 +00:00
|
|
|
end
|
|
|
|
end
|