diff --git a/.rubocop.yml b/.rubocop.yml index b7edfe48948..2aeb8d9c9c7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,3 +7,7 @@ Discourse/NoAddReferenceOrAliasesActiveRecordMigration: Discourse/NoResetColumnInformationInMigrations: Enabled: true + +# TODO: Still need to fix all the existing tests but we shouldn't block future upgrades +Discourse/NoMockingJobs: + Enabled: false diff --git a/Gemfile.lock b/Gemfile.lock index b460b627c3a..1de2dd8680e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -359,7 +359,7 @@ GEM unicode-display_width (>= 1.4.0, < 2.0) rubocop-ast (0.2.0) parser (>= 2.7.0.1) - rubocop-discourse (2.2.0) + rubocop-discourse (2.3.0) rubocop (>= 0.69.0) rubocop-rspec (>= 1.39.0) rubocop-rspec (1.42.0)