From cb8d031e959588c02efcd245ba914c07dab7f993 Mon Sep 17 00:00:00 2001
From: Robert Speicher <rspeicher@gmail.com>
Date: Wed, 30 Nov 2016 15:07:42 +0800
Subject: [PATCH] Explicitly disable the RSpec/BeEql cop

This is a little too picky, even for us.
---
 .rubocop.yml      | 4 ++++
 .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:
-- 
GitLab