mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 06:33:38 +08:00
7ff889574d
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 |
||
---|---|---|
.. | ||
backup_file_handler_spec.rb | ||
backuper_spec.rb | ||
database_restorer_spec.rb | ||
local_backup_store_spec.rb | ||
meta_data_handler_spec.rb | ||
s3_backup_store_spec.rb | ||
shared_context_for_backup_restore.rb | ||
shared_examples_for_backup_store.rb | ||
system_interface_spec.rb | ||
uploads_restorer_spec.rb |