Autofix Rubocop RSpec/BeEq (#23740)
This commit is contained in:
parent
bf785df9fe
commit
5116347eb7
39 changed files with 139 additions and 182 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue