From 140ca2feb9f785f28f9154abb77dd58181cb85bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 2 Jul 2024 23:02:12 +0200 Subject: [PATCH] Add RSpec/MissingExpectationTargetMethod rule This rule was introduced in rubocop-rspec 3.0.0. We were already following it. It might be helpful because during development I've made typos prevented by this rule a couple of times. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index b93a3d021..a183aa5b7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -598,6 +598,9 @@ RSpec/LetSetup: RSpec/MetadataStyle: Enabled: true +RSpec/MissingExpectationTargetMethod: + Enabled: true + RSpec/NotToNot: Enabled: true