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
|