Autofix Rubocop RSpec/BeEq (#23740)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user