From 0fe3b2e38342978c5c231798eedc982a56da3c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Fri, 19 May 2017 12:13:15 +0200 Subject: [PATCH] Add descriptions for the RSpec/EmptyExampleGroup and RSpec/ExpectOutput cops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ci skip] Signed-off-by: Rémy Coutable --- .rubocop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index f4848606896..3cdafd96456 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -969,7 +969,7 @@ RSpec/DescribeSymbol: RSpec/DescribedClass: Enabled: true -# Configuration parameters: CustomIncludeMethods. +# Checks if an example group does not include any tests. RSpec/EmptyExampleGroup: Enabled: true CustomIncludeMethods: @@ -993,6 +993,7 @@ RSpec/ExampleWording: RSpec/ExpectActual: Enabled: true +# Checks for opportunities to use `expect { … }.to output`. RSpec/ExpectOutput: Enabled: true