summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-11-30 15:13:42 +0800
committerRobert Speicher <rspeicher@gmail.com>2017-02-10 17:40:38 -0500
commit92cbc1e4ad8d874428089c4c65293fa218f67206 (patch)
tree4ef76c9b34e813499bd8ca4a28d6f3fd4a4916ed /.rubocop.yml
parentcb8d031e959588c02efcd245ba914c07dab7f993 (diff)
downloadgitlab-ce-92cbc1e4ad8d874428089c4c65293fa218f67206.tar.gz
Enable the `RSpec/ExpectActual` cop and correct offenses
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index e73597adca2..21ea8372e4b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -801,6 +801,10 @@ RSpec/ExampleWording:
not: does not
IgnoredWords: []
+# Checks for `expect(...)` calls containing literal values.
+RSpec/ExpectActual:
+ Enabled: true
+
# Checks the file and folder naming of the spec file.
RSpec/FilePath:
Enabled: false