diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-11-30 15:07:42 +0800 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-02-10 16:44:13 -0500 |
commit | cb8d031e959588c02efcd245ba914c07dab7f993 (patch) | |
tree | 7323781b09fb6f09cd51b1f75f9f0fc2aa5ea598 | |
parent | 58131ac93c2a7c784c8c4f9025ef250eac4e1fa1 (diff) | |
download | gitlab-ce-cb8d031e959588c02efcd245ba914c07dab7f993.tar.gz |
Explicitly disable the RSpec/BeEql cop
This is a little too picky, even for us.
-rw-r--r-- | .rubocop.yml | 4 | ||||
-rw-r--r-- | .rubocop_todo.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 88345373a5b..e73597adca2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -769,6 +769,10 @@ Rails/ScopeArgs: RSpec/AnyInstance: Enabled: false +# Check for expectations where `be(...)` can replace `eql(...)`. +RSpec/BeEql: + Enabled: false + # Check that the first argument to the top level describe is the tested class or # module. RSpec/DescribeClass: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d581610162f..c86cd714723 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -80,10 +80,6 @@ Performance/RedundantMatch: Performance/RedundantMerge: Enabled: false -# Offense count: 7 -RSpec/BeEql: - Enabled: false - # Offense count: 15 # Configuration parameters: CustomIncludeMethods. RSpec/EmptyExampleGroup: |