discourse/spec/lib/backup_restore
Jarek Radosz e36377d9ab
DEV: Don't user before(:all)/after(:all) (#13389)
Leaking state and non-obvious order (before :all runs *before* RailsHelper.test_setup) are not worth it.
A replacement PR for #13370. Fixes some flaky specs, e.g.
```
bin/rspec './spec/components/freedom_patches/translate_accelerator_spec.rb[1:3]' './spec/jobs/clean_up_user_export_topics_spec.rb[1:1]' --tag ~type:multisite --seed 35994
```

Also included:
* DEV: No need for locale reset (we do it anyway in rails_helper in `test_setup`)
2021-06-15 17:25:06 +02:00
..
backup_file_handler_spec.rb FIX: Restoring could fail due to missing path 2021-02-09 17:28:03 +01:00
backuper_spec.rb REFACTOR: Clean up parameterized title 2019-07-18 15:49:16 -06:00
database_restorer_spec.rb FIX: Update database_restorer to avoid shell use (#12731) 2021-04-16 13:39:45 +01:00
local_backup_store_spec.rb DEV: Don't user before(:all)/after(:all) (#13389) 2021-06-15 17:25:06 +02:00
meta_data_handler_spec.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
s3_backup_store_spec.rb DEV: Don't user before(:all)/after(:all) (#13389) 2021-06-15 17:25:06 +02:00
shared_context_for_backup_restore.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
shared_examples_for_backup_store.rb DEV: Don't user before(:all)/after(:all) (#13389) 2021-06-15 17:25:06 +02:00
system_interface_spec.rb PERF: Disable Sidekiq only during database restore (#10857) 2020-10-16 15:19:02 +02:00
uploads_restorer_spec.rb FIX: Remap old S3 endpoints during backup restore (#12276) 2021-03-03 21:10:09 +01:00