diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-08 10:46:25 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-11 14:55:10 +0200 |
commit | 57a561db4e27cb1f221fc5c2776d8cbfecf6a0df (patch) | |
tree | a2c8556a0f2a2f3a041575a93a253d979abe7b4c | |
parent | 7e3ff5a0beb64ca076f7e0af1d07e3c99775e426 (diff) | |
download | gitlab-ce-57a561db4e27cb1f221fc5c2776d8cbfecf6a0df.tar.gz |
Fix cop description
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 18d8e009da6..d25b4ac39c9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1045,7 +1045,7 @@ RSpec/BeforeAfterAll: RSpec/DescribeClass: Enabled: false -# Use `described_class` for tested class / module. +# Checks that the second argument to `describe` specifies a method. RSpec/DescribeMethod: Enabled: false @@ -1053,8 +1053,7 @@ RSpec/DescribeMethod: RSpec/DescribeSymbol: Enabled: true -# Checks that the second argument to top level describe is the tested method -# name. +# Checks that tests use `described_class`. RSpec/DescribedClass: Enabled: true |