discourse/spec/lib/backup_restore
Jarek Radosz 7ff889574d
DEV: Add rubocop-rspec (#9288)
This adds rubocop-rspec, and enables some cops that were either already passing or are passing now, after fixing them in this commit.

Some new cops are disabled for now, with annotation: "TODO" or "To be decided". Those either need to be discussed first, or require manual changes, or the number of found and fixed offenses is too large to bundle them up in a single PR.

Includes:

* DEV: Update rubocop's `TargetRubyVersion` to 2.6
* DEV: Enable RSpec/VoidExpect
* DEV: Enable RSpec/SharedContext
* DEV: Enable RSpec/EmptyExampleGroup (Removed an obsolete empty spec file)
* DEV: Enable RSpec/ItBehavesLike
* DEV: Remove RSpec/ScatteredLet (It's too strict, as it doesn't recognize fab! as a let-like)
* DEV: Remove RSpec/MultipleExpectations
2020-03-27 17:35:40 +01:00
..
backup_file_handler_spec.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
backuper_spec.rb REFACTOR: Clean up parameterized title 2019-07-18 15:49:16 -06:00
database_restorer_spec.rb FIX: Failed to restore backups from versions without translation overrides 2020-03-14 00:00:22 +01:00
local_backup_store_spec.rb DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
meta_data_handler_spec.rb REFACTOR: Simplify backup version check 2020-01-15 23:37:40 +01:00
s3_backup_store_spec.rb Build(deps): Bump aws-sdk-s3 from 1.36.1 to 1.59.0 (#8502) 2019-12-11 10:18:11 -08: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: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
system_interface_spec.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
uploads_restorer_spec.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00