From 04a6a56f3deceff9af4707450b262f5e273d7246 Mon Sep 17 00:00:00 2001 From: "Michael J. Giarlo" Date: Tue, 25 Aug 2015 14:08:36 -0700 Subject: [PATCH] Rubocop autocorrect should transform rspec describe messages with "NOT" and "only" properly --- .rubocop.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index b3fe61d0..39a22af6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -22,6 +22,15 @@ Style/ClassAndModuleChildren: Style/Documentation: Enabled: false +RSpec/ExampleWording: + CustomTransform: + be: is + have: has + not: does not + NOT: does NOT + IgnoredWords: + - only + RSpec/FilePath: Enabled: false