Autofix Rubocop RSpec/BeEq (#23740)
This commit is contained in:
parent
bf785df9fe
commit
5116347eb7
39 changed files with 139 additions and 182 deletions
|
@ -62,7 +62,7 @@ describe FetchOEmbedService, type: :service do
|
|||
|
||||
it 'does not cache OEmbed endpoint' do
|
||||
subject.call('https://host.test/oembed.html', format: :xml)
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -83,7 +83,7 @@ describe FetchOEmbedService, type: :service do
|
|||
|
||||
it 'does not cache OEmbed endpoint' do
|
||||
subject.call('https://host.test/oembed.html')
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -104,7 +104,7 @@ describe FetchOEmbedService, type: :service do
|
|||
|
||||
it 'does not cache OEmbed endpoint' do
|
||||
subject.call('https://host.test/oembed.html')
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to eq false
|
||||
expect(Rails.cache.exist?('oembed_endpoint:host.test')).to be false
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue