about summary refs log tree commit diff
path: root/spec/models/account_domain_block_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-20 00:14:50 -0500
committerGitHub <noreply@github.com>2023-02-20 06:14:50 +0100
commit5116347eb7cfd0a09f55efbd84f8d3fa11d4d6ba (patch)
tree02fd0ac43ec43ccb974e4e370f6aeedf223b7d95 /spec/models/account_domain_block_spec.rb
parentbf785df9fe044f2f13bfb93e6860a74084d8eb8a (diff)
Autofix Rubocop RSpec/BeEq (#23740)
Diffstat (limited to 'spec/models/account_domain_block_spec.rb')
-rw-r--r--spec/models/account_domain_block_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/account_domain_block_spec.rb b/spec/models/account_domain_block_spec.rb
index 469bc05cb..a170abcd2 100644
--- a/spec/models/account_domain_block_spec.rb
+++ b/spec/models/account_domain_block_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe AccountDomainBlock, type: :model do
 
     AccountDomainBlock.create!(account: account, domain: 'a.domain.blocked.later')
 
-    expect(Rails.cache.exist?("exclude_domains_for:#{account.id}")).to eq false
+    expect(Rails.cache.exist?("exclude_domains_for:#{account.id}")).to be false
   end
 
   it 'removes blocking cache after destruction' do
@@ -17,6 +17,6 @@ RSpec.describe AccountDomainBlock, type: :model do
 
     block.destroy!
 
-    expect(Rails.cache.exist?("exclude_domains_for:#{account.id}")).to eq false
+    expect(Rails.cache.exist?("exclude_domains_for:#{account.id}")).to be false
   end
 end