Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-11-30 10:13:42 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-02-11 01:40:38 +0300
commit92cbc1e4ad8d874428089c4c65293fa218f67206 (patch)
tree4ef76c9b34e813499bd8ca4a28d6f3fd4a4916ed /.rubocop.yml
parentcb8d031e959588c02efcd245ba914c07dab7f993 (diff)
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